Re: How to add logo to django header

2017-08-15 Thread Volodymyr Kirichinets
Hi,
You can do this with base_site.html just change all of You need.

On Mon, Aug 14, 2017 at 5:17 PM, Yogesh Mishra 
wrote:

> Thanx
>
> On Thursday, July 28, 2016 at 1:36:17 PM UTC+5:30, Gauri Shirsath wrote:
>>
>> Hi,
>>
>> I want to show company logo instead of 'Django Administrator' heading.
>> Can someone please guide me.
>>
>> Regards,
>> Gauri
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/django-users/3Stx_IAZK6k/unsubscribe.
> To unsubscribe from this group and all its topics, 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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/0dfb0d00-0d61-4f3d-966c-4c04d41fc891%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+unsubscr...@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/CABvi10tdoVj6RkDY2v2uxzw%3D0jc8kTXXC2GuM-08T3-W%3D29x7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to add logo to django header

2017-08-14 Thread Yogesh Mishra
Thanx

On Thursday, July 28, 2016 at 1:36:17 PM UTC+5:30, Gauri Shirsath wrote:
>
> Hi,
>
> I want to show company logo instead of 'Django Administrator' heading.
> Can someone please guide me.
>
> Regards,
> Gauri
>

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0dfb0d00-0d61-4f3d-966c-4c04d41fc891%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to add logo to django header

2016-07-28 Thread ludovic coues
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 :
> 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+unsubscr...@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+unsubscr...@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.


Re: How to add logo to django header

2016-07-28 Thread Volodymyr Kirichinets
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+unsubscr...@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.


Re: How to add logo to django header

2016-07-28 Thread Volodymyr Kirichinets
This if You want to change icon.

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20d67c28-3cb9-43c5-89c9-025d3e1e9962%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to add logo to django header

2016-07-28 Thread Volodymyr Kirichinets
Hi,
open 
/your/path/to/python2.7/site-packages/django/contrib/admin/templates/admin/base.html
  
file
add  to top of file :
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+unsubscr...@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.


Re: How to add logo to django header

2016-07-28 Thread Siddharth Ghumre
Hi,

Please follow the documentation on
https://docs.djangoproject.com/en/1.9/ref/contrib/admin/#overriding-vs-replacing-an-admin-template

The file you are looking for is base_site.html which you need to override
to change the default 'Django Administrator' heading to your company logo.

Hope this helps.

-Sid

On Thu, Jul 28, 2016 at 2:04 PM, Gauri Shirsath <
gauri.shirs...@inspiritvision.com> wrote:

> Hi,
>
> I want to show company logo instead of 'Django Administrator' heading.
> Can someone please guide me.
>
> Regards,
> Gauri
>
> --
> 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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/991a1cf4-8a32-4941-ae43-e7a3f46916af%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+unsubscr...@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/CANtEdp5R9XcYcNBYKWwB%2BT%3DjrGr-O2aBdjHqEO%2Bgw0FFfe-bJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to add logo to django header

2016-07-28 Thread Constantine Covtushenko
Hi Gauri,

One of approach is would be to override admin base template used as a
parent for all admin pages.
Please see that documentation link

about how to do that.

Regards,

On Thu, Jul 28, 2016 at 9:04 AM, Gauri Shirsath <
gauri.shirs...@inspiritvision.com> wrote:

> Hi,
>
> I want to show company logo instead of 'Django Administrator' heading.
> Can someone please guide me.
>
> Regards,
> Gauri
>
> --
> 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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/991a1cf4-8a32-4941-ae43-e7a3f46916af%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+unsubscr...@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/CAK52boWCWBDXyFJ%3D1SvJhbAjKPgrY6w3N2_GkDBfO5X%3D-xd_VA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


How to add logo to django header

2016-07-28 Thread Gauri Shirsath
Hi,

I want to show company logo instead of 'Django Administrator' heading.
Can someone please guide me.

Regards,
Gauri

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/991a1cf4-8a32-4941-ae43-e7a3f46916af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.