#35283: Dynamic admin site titles -----------------------------------------+------------------------------ Reporter: Kasun Herath | Owner: Kasun Herath Type: New feature | Status: assigned Component: contrib.admin | Version: dev Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 1 UI/UX: 0 | -----------------------------------------+------------------------------ AdminSite [https://github.com/django/django/blob/main/django/contrib/admin/sites.py#L29] has attributes defined that can be used to customize admin site_header, site_title and index_title.
But these cannot be populated dynamically. I propose to add three method like below, that would enable populating site_header, site_title and index_title dynamically. {{{ def get_site_header(request, *args, **kwargs): # return computed site_header }}} -- Ticket URL: <https://code.djangoproject.com/ticket/35283> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018e1c902222-32b2c0b3-4b46-4264-9853-0002bfccc049-000000%40eu-central-1.amazonses.com.