Change django administration title

There are two ways to change them.

  1. Create //templates/admin/base_site.html file with the following content
~~~python
{ % extends "admin/base.html" %}
{ % block title %} Your website title here { % endblock %}

{ % block branding %}

Your website title here

{ % endblock %}

    
    The original file is <a href="https://github.com/django/django/blob/master/django/contrib/admin/templates/admin/base_site.html" target="_blank">https://github.com/django/django/blob/master/django/contrib/admin/templates/admin/base_site.html</a></li> 
    
      * Change settings.py and urls.py
  
        
        ~~~python
        $ vi settings.py

...

ADMIN_SITE_HEADER = "My shiny new administration"

...

~~~bash $ vi urls.py

from django.conf import settings

admin.site.site_title = settings.ADMIN_SITE_HEADER

admin.site.site_header = settings.ADMIN_SITE_HEADER

~~~

    Source: <http://stackoverflow.com/questions/4938491/django-admin-change-header-django-administration-text></li> </ol>
Written on January 31, 2017