Opened 17 years ago

Last modified 16 years ago

#6286 closed

Chapter 3 - Design your urls misses Admin section — at Initial Version

Reported by: Bashar Al-Abdulhadi Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords: tutorial
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In Chapter 3 Design your urls section, the urlpatterns assignment seems to miss the admin url patter from the assignment:

urlpatterns = patterns(,

(r'polls/$', 'mysite.polls.views.index'),
(r'
polls/(?P<poll_id>\d+)/$', 'mysite.polls.views.detail'),
(r'polls/(?P<poll_id>\d+)/results/$', 'mysite.polls.views.results'),
(r'
polls/(?P<poll_id>\d+)/vote/$', 'mysite.polls.views.vote'),

)

Perhaps it's because the next step is to move that section to the polls directory, but it may lead people to overwrite the admin section unaware.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top