diff hgscm/urls.py @ 75:e8119809dfab

Add favicon
author David Soria Parra <dsp@php.net>
date Thu, 19 Feb 2009 09:25:45 +0100
parents b3d9cbb33d54
children
line wrap: on
line diff
--- a/hgscm/urls.py	Wed Feb 18 18:43:58 2009 +0100
+++ b/hgscm/urls.py	Thu Feb 19 09:25:45 2009 +0100
@@ -8,6 +8,7 @@
     (r'^media/(?P<path>.*)$', 'django.views.static.serve', 
         { 'document_root': os.path.join(settings.MEDIA_ROOT) }),
 
+    (r'^favicon\.ico$', 'django.views.static.serve', {'document_root': os.path.join(settings.MEDIA_ROOT), 'path': 'images/favicon.ico'}),
     # Uncomment the next line to enable the admin:
     # (r'^admin/(.*)', admin.site.root),
 )