#22042 closed Cleanup/optimization (fixed)
confused in tutorial 03 about location of mysite/urls.py
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | 1.6 |
Severity: | Normal | Keywords: | tutorial 03 |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Working through the tutorials, I got stuck for a while in this section:
https://docs.djangoproject.com/en/1.6/intro/tutorial03/#write-your-first-view
Where it asks you to create mysite/urls.py I made the mistake of creating it at the top level of mysite rather than in mysite/mysite/urls.py this led to lots of 404 errors and head scratching.
For a novice like me, it was not clear which mysite directory to put the file in. Please consider making it a little more explicit
thanks.
Change History (2)
comment:1 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 4 months ago
Note:
See TracTickets
for help on using tickets.
In the development version of the documentation, we've added headers with file names on each code block. I think this should help clarify things.