comparison 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
comparison
equal deleted inserted replaced
74:8be782354e8b 75:e8119809dfab
6 (r'^', include('hgscm.apps.www.urls')), 6 (r'^', include('hgscm.apps.www.urls')),
7 7
8 (r'^media/(?P<path>.*)$', 'django.views.static.serve', 8 (r'^media/(?P<path>.*)$', 'django.views.static.serve',
9 { 'document_root': os.path.join(settings.MEDIA_ROOT) }), 9 { 'document_root': os.path.join(settings.MEDIA_ROOT) }),
10 10
11 (r'^favicon\.ico$', 'django.views.static.serve', {'document_root': os.path.join(settings.MEDIA_ROOT), 'path': 'images/favicon.ico'}),
11 # Uncomment the next line to enable the admin: 12 # Uncomment the next line to enable the admin:
12 # (r'^admin/(.*)', admin.site.root), 13 # (r'^admin/(.*)', admin.site.root),
13 ) 14 )