Thursday, July 28, 2016

Re: How to add logo to django header

Hi,
open     /your/path/to/python2.7/site-packages/django/contrib/admin/templates/admin/base.html  file
add  to top of file :    <link rel="icon" type="image/png" href="{% static 'Path/To/static/images/yourlogo.png' %}" />
And You get a logo!

--
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/eddf4ee8-eca8-4593-b011-1a8702d78112%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment