[GH-ISSUE #666] Missing Python module 'name', 'url', and 'patterns' #506

Open
opened 2026-02-27 16:39:29 +03:00 by kerem · 2 comments
Owner

Originally created by @egberts on GitHub (Jul 11, 2018).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/666

In Debian 9.2, the check option of manage.py resulted in missing the following Python modules.

  • name
  • url
  • patterns

Workaround is to perform the following:

sudo pip install name url patterns
Originally created by @egberts on GitHub (Jul 11, 2018). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/666 In Debian 9.2, the check option of `manage.py` resulted in missing the following Python modules. * name * url * patterns Workaround is to perform the following: sudo pip install name url patterns
Author
Owner

@egberts commented on GitHub (Jul 11, 2018):

Also, newer django obsoleted the 'patterns' as detailed here...

urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
# ... your url patterns
]

Source: https://stackoverflow.com/questions/8074955/cannot-import-name-patterns

<!-- gh-comment-id:404197656 --> @egberts commented on GitHub (Jul 11, 2018): Also, newer django obsoleted the 'patterns' as detailed here... urlpatterns = [ url(r'^admin/', include(admin.site.urls)), # ... your url patterns ] Source: https://stackoverflow.com/questions/8074955/cannot-import-name-patterns
Author
Owner

@egberts commented on GitHub (Jul 11, 2018):

Major changes to urlpatterns set list.

https://docs.djangoproject.com/en/1.9/topics/http/urls/#example

<!-- gh-comment-id:404198966 --> @egberts commented on GitHub (Jul 11, 2018): Major changes to `urlpatterns` set list. https://docs.djangoproject.com/en/1.9/topics/http/urls/#example
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#506
No description provided.