#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.
In 1bbffe7867a2e5169bc89fbfab5da9b4b7bc0b05: