#34289: Settings to override the default admin site
------------------------------------------------+------------------------
Reporter: Al Mahdi | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.admin | Version: 4.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
The current way [https://docs.djangoproject.com/en/4.1/ref/contrib/admin
/#overriding-the-default-admin-site] to override the default admin site is
not so convenient.
Is it possible to set the default admin site class in the **settings.py**
file?
Like this,
{{{
DEFAULT_ADMIN_SITE = 'app.admin.CustomAdminSite'
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34289>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070185e246f41d-a62f8791-3706-4006-8c51-f8015ab5983a-000000%40eu-central-1.amazonses.com.