Monday, May 4, 2015

Re: django 1.8 customize site title

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


2015-05-02 5:55 GMT-03:00 drakkan <drakkan1000@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:


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+unsubscribe@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.
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+unsubscribe@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.

No comments:

Post a Comment