Opened 7 years ago

Closed 7 years ago

Last modified 3 years ago

#7824 closed (fixed)

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

Reported by: tome Owned by: jacob
Component: Uncategorized Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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 Changed 7 years ago by Karen Tracey <kmtracey@…>

  • milestone set to 1.0 alpha
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 7 years ago by brosner

(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 Changed 7 years ago by jacob

  • Owner changed from nobody to jacob
  • Status changed from new to assigned

comment:4 Changed 7 years ago by jacob

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

comment:5 Changed 7 years ago by jacob

  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:6 Changed 3 years ago by jacob

  • milestone 1.0 alpha deleted

Milestone 1.0 alpha deleted

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