small problem with import django.conf.urls
|Reported by:||adamhammouda3@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In lines (eg in polls/urls.py from your tutorial) where you say "from django.conf.urls import patterns, include, url", you should say "from django.conf.urls.defaults . Probably just a minor oversight from the latest release, but urls is a directory from which you cannot access the specified functions --defaults.py has the functions specified.