Opened 15 years ago
Closed 15 years ago
#12126 closed (duplicate)
Tutorial part 3: "Decoupling the URLconfs" looks weird (doesn't really decouple)
Description ¶
In the tutorial it says:
Now that we've decoupled that, we need to decouple the 'mysite.polls.urls' URLconf by removing the leading "polls/" from each line, and removing the lines registering the admin site:
urlpatterns = patterns('mysite.polls.views',
...
This seems weird to me, because with "mysite.polls.views", the app still seems to be tightly coupled to the project ("mysite"). I could be mistaken, though - only just learning Django.
Note:
See TracTickets
for help on using tickets.
Dupe of #3941, and about a dozen others. Please search trac before filing a new bug.