Opened 15 years ago
Closed 15 years ago
#11172 closed (duplicate)
"Decoupling the URLconfs" isn't exactly true
Reported by: | yacoob | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | 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
http://docs.djangoproject.com/en/dev/intro/tutorial03/#intro-tutorial03 - the part about decoupling is not entirely right. During previous steps user put templates for polls app into global template directory. To make sure polls is fully decoupled, we should have put the templates in app's template directory.
Change History (2)
Note:
See TracTickets
for help on using tickets.
...and a question on top of that - 'polls/urls.py' still contains a reference to 'mysite' name. Shouldn't tutorial show how to write a truly independent app, without such things?