django 1.8 customize site title

505 views
Skip to first unread message

drakkan

unread,
May 2, 2015, 4:55:26 AM5/2/15
to django...@googlegroups.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:


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


André Luiz

unread,
May 4, 2015, 12:46:08 PM5/4/15
to django...@googlegroups.com
You can do it in in urls.py for example[1]


--
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...@googlegroups.com.
To post to this group, send email to django...@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.
For more options, visit https://groups.google.com/d/optout.

drakkan

unread,
May 5, 2015, 2:17:37 AM5/5/15
to django...@googlegroups.com
the problem was caused by django-admin-bootstrapped

frocco

unread,
Sep 10, 2015, 11:52:56 AM9/10/15
to Django users
Thank you for sharing this.
Reply all
Reply to author
Forward
0 new messages