bgneal@1: from django.conf.urls.defaults import * bgneal@1: from django.contrib import admin bgneal@34: from django.conf import settings bgneal@1: bgneal@1: admin.autodiscover() bgneal@1: bgneal@1: urlpatterns = patterns('', bgneal@40: (r'^', include('band.urls')), bgneal@26: (r'^admin/doc/', include('django.contrib.admindocs.urls')), bgneal@1: (r'^admin/', include(admin.site.urls)), bgneal@40: (r'^photologue/', include('photologue.urls')), bgneal@1: ) bgneal@1: bgneal@1: if settings.DEBUG: bgneal@1: urlpatterns += patterns('', bgneal@26: (r'^media/(?P.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}), bgneal@1: )