Thursday, July 28, 2016

Re: How to add logo to django header

You are suggesting to alter the django library directly. This as two
immediate bad effect.

First, it make upgrading to newer and more secure version of django
harder as the change will be overwritten by the upgrade.

Second, if you want to keep your track of your change, using git for
exemple, you will need to add the whole django directory. This take a
lot of space.

2016-07-28 15:04 GMT+02:00 Volodymyr Kirichinets <webmamoffice@gmail.com>:
> If You want to change background of the header, Try this
> open :
> /you/path/to/python2.7/site-packages/django/contrib/admin/static/admin/css/base.css
> add
> h1 {
> .....................
> ........................
> background:url("path/to/you/static/images/youlogo.png");
> }
>
> --
> 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/e23f6d97-b751-4e94-afc8-249c9741ae83%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--

Cordialement, Coues Ludovic
+336 148 743 42

--
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/CAEuG%2BTbwU5PZzQX9kkBSDxs9JgjoX2gjKyE%3D1OmJbVF-dSsDTw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment