Re: django and favicon.ico

2013-08-04 Thread Babatunde Akinyanmi
On Sun, Aug 4, 2013 at 11:56 PM, Mike Dewhirst <mi...@dewhirst.com.au>wrote: > On 5/08/2013 4:22am, Tundebabzy wrote: > >> Hi, >> Is there any documentation on how django behaves during a GET >> /favicon.ico? In my django 1.4.5 installation with runserver, GET >&

Re: django and favicon.ico

2013-08-04 Thread Mike Dewhirst
On 5/08/2013 4:22am, Tundebabzy wrote: Hi, Is there any documentation on how django behaves during a GET /favicon.ico? In my django 1.4.5 installation with runserver, GET /favicon.ico redirects to /media/img/favicon; on OpenShift, it redirects to /media/favicon.ico. It is a static image

django and favicon.ico

2013-08-04 Thread Tundebabzy
Hi, Is there any documentation on how django behaves during a GET /favicon.ico? In my django 1.4.5 installation with runserver, GET /favicon.ico redirects to /media/img/favicon; on OpenShift, it redirects to /media/favicon.ico. My googlefu has failed me. -- You received this message because

Re: django and favicon.ico problem

2008-12-17 Thread Graham Dumpleton
On Dec 18, 10:12 am, felix wrote: > you can put it directly in your http-vhosts.conf file > > >              ServerName crucial-systems.com >              DocumentRoot /home/crucial/crucial-stack/crucialwww > ... etc... > > Alias /favicon.ico

Re: django and favicon.ico problem

2008-12-17 Thread felix
you can put it directly in your http-vhosts.conf file ServerName crucial-systems.com DocumentRoot /home/crucial/crucial-stack/crucialwww ... etc... Alias /favicon.ico "/home/crucial/crucial-stack/crucialwww/favicon.ico" ... WSGIScriptAlias /

Re: django and favicon.ico problem

2008-12-17 Thread 3lancer.eu
ways to fix that. If you're hosting your project with Apache, I suggest trying a .htaccess / httpd.conf solution with mod_rewrite. If that's not what you like, you can add favicon.ico to your django urlconf and code a simple view that will serve .ico data with proper content-type as mentioned for example i

Re: django and favicon.ico problem

2008-12-17 Thread Peter Herndon
I've done favicons as per Malcolm's suggestion, with a link in my base template to e.g. /media/images/favicon.ico, and that works satisfactorily for most cases. The favicon shows as expected in browser address bars, etc. However, since favicons arose via convention, where the convention was to

Re: django and favicon.ico problem

2008-12-16 Thread Malcolm Tredinnick
On Tue, 2008-12-16 at 02:45 -0800, architecture wrote: > i was working with php and always i put the favicon.ico in the root of > the website but now the problem with django occurs > now i'm working with django and i have a problem now > i used > 1. static.serve > 2. .htaccess > 3.redirect_to >

Re: django and favicon.ico problem

2008-12-16 Thread Graham Dumpleton
On Dec 16, 9:45 pm, architecture wrote: > i was working with php and always i put the favicon.ico in the root of > the website but now the problem with django occurs > now i'm working with django and i have a problem now > i used > 1. static.serve > 2. .htaccess >

django and favicon.ico problem

2008-12-16 Thread architecture
i was working with php and always i put the favicon.ico in the root of the website but now the problem with django occurs now i'm working with django and i have a problem now i used 1. static.serve 2. .htaccess 3.redirect_to but none of them works have you any idea for using favicon.ico in the