annotate mysite/urls.py @ 9:dac690ab98b2
Display video sets on index page by date in descending order. Allow the video set date to be edited.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sun, 13 Dec 2009 21:47:08 +0000 |
parents |
0dcfcdf50c62 |
children |
ead7bd49c9e0 |
rev |
line source |
bgneal@1
|
1 from django.conf.urls.defaults import *
|
bgneal@1
|
2 from django.contrib import admin
|
bgneal@1
|
3 from mysite import settings
|
bgneal@1
|
4
|
bgneal@1
|
5 admin.autodiscover()
|
bgneal@1
|
6
|
bgneal@1
|
7 urlpatterns = patterns('',
|
bgneal@1
|
8 (r'^', include('mysite.band.urls')),
|
bgneal@1
|
9 (r'^admin/', include(admin.site.urls)),
|
bgneal@1
|
10 (r'^photologue/', include('mysite.photologue.urls')),
|
bgneal@1
|
11 )
|
bgneal@1
|
12
|
bgneal@1
|
13 if settings.DEBUG:
|
bgneal@1
|
14 urlpatterns += patterns('',
|
bgneal@1
|
15 (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
|
bgneal@1
|
16 )
|