summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorexpo <expo@seagrass.goatchurch.org.uk>2009-08-29 18:08:55 +0100
committerexpo <expo@seagrass.goatchurch.org.uk>2009-08-29 18:08:55 +0100
commit65cebce1987b5a289e0eccde9b0a1d526c6385a1 (patch)
tree36e6b5ed2b6b7f84310b1671890841addf636195 /urls.py
parent69dd36bdb5dbc67c291f21b9217fa8a9fc2ae0b0 (diff)
downloadtroggle-65cebce1987b5a289e0eccde9b0a1d526c6385a1.tar.gz
troggle-65cebce1987b5a289e0eccde9b0a1d526c6385a1.tar.bz2
troggle-65cebce1987b5a289e0eccde9b0a1d526c6385a1.zip
get rid of photo
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/urls.py b/urls.py
index 902f8bc..e653649 100644
--- a/urls.py
+++ b/urls.py
@@ -69,6 +69,10 @@ urlpatterns = patterns('',
(r'^admin/doc/?', include('django.contrib.admindocs.urls')),
url(r'^admin/(.*)', admin.site.root, name="admin"),
+
+ # don't know why this needs troggle/ in here. nice to get it out
+ url(r'^troggle/media-admin/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ADMIN_DIR, 'show_indexes':True}),
+
(r'^accounts/', include('registration.urls')),
(r'^profiles/', include('profiles.urls')),