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 > > but none of them works have you any idea for using favicon.ico in the > website
There's nothing Django or PHP-specific about setting this up. However, if you've configured your Django installation to control everything under "/", then you'll need to make sure it also responds to request for favico. An even easier solution is simply to put the favicon file wherever you serve other static data from (e.g. where your stylesheets and images are) and put a <link rel="icon"...> line in your base template to point clients to the right location. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---