Opened 12 years ago
Last modified 12 years ago
#21712 closed Cleanup/optimization
Move admin.autodiscover() to AppConfig.setup() — at Initial Version
| Reported by: | Aymeric Augustin | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.admin | Version: | dev |
| Severity: | Normal | Keywords: | app-loading |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
It doesn't belong to urls.py!
This probably requires shipping an app.py with an AppConfig in the default project template and adding lots of documentation, including in the tutorial.
Note:
See TracTickets
for help on using tickets.