You can do it in in urls.py for example[1]

[1]: https://gist.github.com/dvl/0bed149bee4556b32d7a

2015-05-02 5:55 GMT-03:00 drakkan <drakkan1...@gmail.com>:

> Hi,
>
> I would like to customize django 1.8 site title without override the
>  template using AdminSite,
>
> I customized AdminSite as per doc here:
>
>
> https://docs.djangoproject.com/en/1.8/ref/contrib/admin/#customizing-the-adminsite-class
>
> this seems to work, however the html title still has "Django
> administration",
>
> I added site_header and site_title to AdminSite, is this a bug or am I
> doing something wrong?
>
> here is the html
>
> <head><title>Django administration | MyCustomTitle</title>
> ....
>
>
> thanks
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6668d66c-4235-47a0-933c-0a81e50142b2%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/6668d66c-4235-47a0-933c-0a81e50142b2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL6LtmdMNFamObwqFdwreHsbun3%3D2WOCt%2BYOr_cjs%2BBj_s1rFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to