#9767 closed (duplicate)
tutorial part 3 - Decoupling the URLconfs - module correction
Reported by: | rduplain | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In the tutorial part 3, Decoupling the URLconfs, urlpatterns should point to polls.views not mysite.polls.views, e.g.
urlpatterns = patterns('polls.views', (r'^$', 'index'), (r'^(?P<poll_id>\d+)/$', 'detail'), (r'^(?P<poll_id>\d+)/results/$', 'results'), (r'^(?P<poll_id>\d+)/vote/$', 'vote'), )
Leaving it at mysite.polls.views would not fully decouple the URLconf.
Change History (2)
comment:1 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
My apologies. I did search, but apparently didn't see those tickets. I see them now, thank you.
Note:
See TracTickets
for help on using tickets.
In the future, please search for existing tickets before filing new ones.
Duplicate of #7209, #7660, #7442.