Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#18997 closed Uncategorized (invalid)

Possible error in tutorial

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords: urls
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

In the end of part 3 of the tutorial, we "decouple" part of the URL patterns to polls/urls.py.
The last code presented shows the new content in this file. It includes the following line:

urlpatterns = patterns('polls.views',

Shouldn't the common prefix be "reset" to the empty string? I had to do so for the code to work correctly. The paths mentioned now lack "/polls/", as stated earlier.

Change History (2)

comment:1 by anonymous, 12 years ago

Resolution: invalid
Status: newclosed

comment:2 by anonymous, 12 years ago

Seems like it was my mistake.

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