Opened 14 years ago

Closed 14 years ago

#14326 closed (duplicate)

packages not properly decoupled from project in tutorial

Reported by: bestform <webmaster@…> Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords: decoupling urlconf packages
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

On http://docs.djangoproject.com/en/dev/intro/tutorial03/ you write about decoupling the urlconfs. The package you use in the decoupled urlconf still has the project name in it, which in my opinion it shouldn't, because it wouldn't be decoupled properly this way.
The same is true for the import of the Poll model earlier, where you use from mysite.polls.models import Poll instead of the relative form from models import Poll.

Change History (1)

comment:1 by Russell Keith-Magee, 14 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #14216, #13865, #13507, #12126, #11464, #11424, #11172, #10081, #9860, #9767, #7709, #7660, #7650, #7443, #5283, #4087 and #3941.

We know about this issue, but it's not as simple as just removing a prefix. We need to do a tutorial rewrite to properly introduce the idea of reusable apps.

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