[Django] #22042: confused in tutorial 03 about location of mysite/urls.py

7 views
Skip to first unread message

Django

unread,
Feb 13, 2014, 9:59:01 PM2/13/14
to django-...@googlegroups.com
#22042: confused in tutorial 03 about location of mysite/urls.py
--------------------------------------+-------------------------
Reporter: jason@… | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.6
Severity: Normal | Keywords: tutorial 03
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+-------------------------
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.

--
Ticket URL: <https://code.djangoproject.com/ticket/22042>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 14, 2014, 7:06:42 AM2/14/14
to django-...@googlegroups.com
#22042: confused in tutorial 03 about location of mysite/urls.py
-------------------------------------+-------------------------------------
Reporter: jason@… | Owner: nobody
Type: | Status: closed
Cleanup/optimization | Version: 1.6
Component: Documentation | Resolution: fixed
Severity: Normal | Triage Stage:
Keywords: tutorial 03 | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timo):

* status: new => closed
* needs_better_patch: => 0
* resolution: => fixed
* needs_tests: => 0
* needs_docs: => 0


Comment:

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.

--
Ticket URL: <https://code.djangoproject.com/ticket/22042#comment:1>

Django

unread,
Aug 9, 2024, 10:01:08 AM8/9/24
to django-...@googlegroups.com
#22042: confused in tutorial 03 about location of mysite/urls.py
-------------------------------------+-------------------------------------
Reporter: jason@… | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: 1.6
Severity: Normal | Resolution: fixed
Keywords: tutorial 03 | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Natalia Bidart):

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.
--
Ticket URL: <https://code.djangoproject.com/ticket/22042#comment:2>
Reply all
Reply to author
Forward
0 new messages