Mercurial > public > madeira
view mysite/urls.py @ 88:7245c769e31e django1.3
Close this branch. I'm not sure if I merged it correctly to the
default branch, because the graphlog doesn't look right. But the
changes were made to default somehow. So closing this off to prevent
future confusion.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 13 Apr 2013 18:08:19 -0500 |
parents | ead7bd49c9e0 |
children | 903260593491 |
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/doc/', include('django.contrib.admindocs.urls')), (r'^admin/', include(admin.site.urls)), (r'^photologue/', include('mysite.photologue.urls')), ) if settings.DEBUG: urlpatterns += patterns('', (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}), )