#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 , 13 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 13 years ago
Note:
See TracTickets
for help on using tickets.
Seems like it was my mistake.