Mercurial > public > madeira
view mysite/urls.py @ 20:7aa63299adf6
Adding a work around for IE path problem in the .css file, as per http://groups.google.com/group/fancybox/browse_frm/thread/8530478044b9f586
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 08 Sep 2010 23:15:57 +0000 |
parents | 0dcfcdf50c62 |
children | ead7bd49c9e0 |
line wrap: on
line source
from django.conf.urls.defaults import * from django.contrib import admin from mysite import settings admin.autodiscover() urlpatterns = patterns('', (r'^', include('mysite.band.urls')), (r'^admin/', include(admin.site.urls)), (r'^photologue/', include('mysite.photologue.urls')), ) if settings.DEBUG: urlpatterns += patterns('', (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}), )