Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#7824 closed (fixed)

Missing information about autodiscover and admin.py in the tutorial and backwards incompatible page

Reported by: Tome Cvitan Owned by: Jacob
Component: Uncategorized Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

From what I understand, using admin.py to specify admin related settings instead of entering it in models.py is the desired way in the new trunk version.

If this is the case, I suggest that the admin.austodiscover() should be explained in the tutorial.

Additionally, if this is the desired setup, maybe the autodiscover should be included but commented out in the urls.py for each project, or even be active if the admin site is imported.

Change History (6)

comment:1 by Karen Tracey <kmtracey@…>, 16 years ago

milestone: 1.0 alpha
Triage Stage: UnreviewedAccepted

comment:2 by Brian Rosner, 16 years ago

(In [8009]) Added admin.autodiscover() to project template urls.py. It is left commented out intentionally. Thanks tome for the suggestion. Refs #7824.

comment:3 by Jacob, 16 years ago

Owner: changed from nobody to Jacob
Status: newassigned

comment:4 by Jacob, 16 years ago

(In [8026]) Modified the comments in the skeleton urls.py to be more clear about how to enable the admin. Refs #7824.

comment:5 by Jacob, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [8027]) Improved the bit of the tutorial that explains how to enable the admin. Fixes #7824.

comment:6 by Jacob, 13 years ago

milestone: 1.0 alpha

Milestone 1.0 alpha deleted

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