Mercurial > public > madeira
comparison mysite/urls.py @ 1:0dcfcdf50c62
Initial import of Madeira project from the private repository.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 06 Apr 2009 03:10:59 +0000 |
parents | |
children | ead7bd49c9e0 |
comparison
equal
deleted
inserted
replaced
0:df0370bfe3f0 | 1:0dcfcdf50c62 |
---|---|
1 from django.conf.urls.defaults import * | |
2 from django.contrib import admin | |
3 from mysite import settings | |
4 | |
5 admin.autodiscover() | |
6 | |
7 urlpatterns = patterns('', | |
8 (r'^', include('mysite.band.urls')), | |
9 (r'^admin/', include(admin.site.urls)), | |
10 (r'^photologue/', include('mysite.photologue.urls')), | |
11 ) | |
12 | |
13 if settings.DEBUG: | |
14 urlpatterns += patterns('', | |
15 (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}), | |
16 ) |