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