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@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@1: (r'^static/(?P.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}), bgneal@1: )