Opened 12 years ago

Closed 12 years ago

Last modified 13 months ago

#22042 closed Cleanup/optimization (fixed)

confused in tutorial 03 about location of mysite/urls.py

Reported by: jason@… 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 Tim Graham, 12 years ago

Resolution: fixed
Status: newclosed

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.

comment:2 by Natalia Bidart, 13 months ago

Given the recurrence of the confusion, and after some recent new feedback and agreement in the Documentation Workshop at DjangoCon Europe 2024, this is being worked on in #35502.

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