Tutorial import line missing (tiny correction)
|Reported by:||gorus||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Hi, thanks a lot for the tutorial, it's great!
At the very end of Part 3, in the last highlighted code block, after the admin registration lines have been removed, the following line should remain:
from django.conf.urls.defaults import *
before the "urlpatterns = patterns(..." code block. Otherwise, the newly created polls/urls.py doesn't work correctly. Better yet, "*" could be replaced with "patterns".
Change History (5)
comment:1 Changed 6 years ago by
|Patch needs improvement:||unset|
|Summary:||Tutorial import line missing (tiny correction needed?) → Tutorial import line missing (tiny correction)|
|Triage Stage:||Unreviewed → Accepted|