Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#22888 closed Uncategorized (fixed)

Confusing text for url.py location

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

Description

Hi guys,
I REALLY enjoy this tutorial. I'm quite new to python and django but have a lot of experience in software development.
I'm going through the 1.6 tutorial with great success. I don't have a real project at the moment so the only real work I do on django is with this tutorial.

On the 3rd part of the tutorial I had a little struggle with the namespace text:
"
The answer is to add namespaces to your root URLconf. In the mysite/urls.py file (the project’s urls.py, not the application’s), go ahead and change it to include namespacing:
"
I found it hard to understand where to put the urls.py for this to work. The text in parenthesis is somewhat confusing. Keep in mind this is for real noobs. I would go for some more detailed text saying "(the project's url.py found in /mysite/mysite/url.py and not the "polls" application urls.py)" or something similar.

Thanks.

Change History (2)

comment:1 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 1bbffe7867a2e5169bc89fbfab5da9b4b7bc0b05:

Fixed #22888 -- Removed some unnecessary text in tutorial 3.

comment:2 by Tim Graham <timograham@…>, 10 years ago

In d38e3bfe5abd79866909ebb469920c5ed14e03f8:

[1.7.x] Fixed #22888 -- Removed some unnecessary text in tutorial 3.

Backport of 1bbffe7867 from master

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