webvirtmgr
webvirtmgr copied to clipboard
Missing Python module 'name', 'url', and 'patterns'
trafficstars
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
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
Major changes to urlpatterns set list.
https://docs.djangoproject.com/en/1.9/topics/http/urls/#example