changeset 91:c15b50f1ebfc

For Django 1.5: Don't include old photologue URLs. They still use the old function style generic views, which are missing from Django 1.5. Since I don't use these URLs, and at some point they broke in the admin, just get rid of them for now.
author Brian Neal <bgneal@gmail.com>
date Tue, 27 Aug 2013 20:54:38 -0500
parents 447d75d1e21d
children ac5ad3ec7215
files madeira/urls.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/madeira/urls.py	Tue Aug 27 20:03:32 2013 -0500
+++ b/madeira/urls.py	Tue Aug 27 20:54:38 2013 -0500
@@ -7,7 +7,7 @@
 admin.autodiscover()
 
 urlpatterns = patterns('',
-    url(r'^$', 
+    url(r'^$',
          TemplateView.as_view(template_name='index.html'),
          name='home'),
     (r'^', include('band.urls')),
@@ -27,8 +27,7 @@
         'django.contrib.auth.views.password_reset_confirm'),
     (r'^reset/done/$', 'django.contrib.auth.views.password_reset_complete'),
     (r'^admin/', include(admin.site.urls)),
-    (r'^photologue/', include('photologue.urls')),
-) 
+)
 
 # For serving media files in development only:
 urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)