following the docs here:
https://docs.djangoproject.com/en/1.8/ref/contrib/admin/#customizing-the-
adminsite-class
almost work but the html title still has "Django administration",
basically in base_site.html
{% block title %}{{ title }} | {{ site_title|default:_('Django site
admin') }}{% endblock %}
"title" seems not customizable while "site_title" is customizable
--
Ticket URL: <https://code.djangoproject.com/ticket/24740>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* needs_docs: => 0
* resolution: => worksforme
* needs_tests: => 0
* needs_better_patch: => 0
Comment:
Use `AdminSite.site_title` if you want to customize what's after the
vertical bar. `{{ title }}` displays the page title which is different for
each page.
--
Ticket URL: <https://code.djangoproject.com/ticket/24740#comment:1>
Comment (by drakkan):
Tim,
I would like to remove "Django administration" before the vertical bar,
site_title works as you stated to change the text after the vertical bar,
I have this on each page
{{{
<title>Django administration | MyCustomizedSiteTitle</title>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24740#comment:2>
Comment (by claudep):
That's strange, because the left side of the title tag is set by the view
and changes for each type of admin page. The right side is
`AdminSite.site_title` and the page main h1 tag is
`AdminSite.site_header`.
Check if your admin templates are not overridden by some app.
--
Ticket URL: <https://code.djangoproject.com/ticket/24740#comment:3>
Comment (by drakkan):
you are right the problem is in django_admin_bootstrapped sorry for the
annoiance
--
Ticket URL: <https://code.djangoproject.com/ticket/24740#comment:4>