Move admin.autodiscover() to AppConfig.setup()
|Reported by:||Aymeric Augustin||Owned by:||Aymeric Augustin|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Description (last modified by )
It doesn't belong to urls.py!
This probably requires shipping an apps.py with an AppConfig in the default project template and adding lots of documentation, including in the tutorial.
Change History (13)
comment:9 Changed 3 years ago by
|Owner:||changed from nobody to Aymeric Augustin|
|Status:||new → assigned|