From a9938b3c5951c590b9ce4663f30e6d58ae04ace5 Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Mon, 3 Jun 2013 22:59:13 -0400 Subject: [PATCH] move the pdfview url to avoid the hungrier course/slug routes --- karmaworld/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/karmaworld/urls.py b/karmaworld/urls.py index 577f15f..f6b52cc 100644 --- a/karmaworld/urls.py +++ b/karmaworld/urls.py @@ -35,6 +35,8 @@ urlpatterns = patterns('', # VIEW for viewing a Note's gdrive generated html, used as iframe url(r'^raw/(?P\d+)$', RawNoteDetailView.as_view(), name='note_raw'), + #url(r'^pdfview$', PDFView.as_view(), name='pdf'), + url(r'^pdfview/(?P\d+)$', PDFView.as_view(), name='pdf'), # VIEW for displaying a single Course url(r'^(?P[^/]+)/(?P[-A-Za-z0-9_]+)$', \ @@ -54,6 +56,5 @@ urlpatterns = patterns('', url(r'^school/list/$', school_list, name='json_school_list'), # ---- end JSON views ----# - url(r'^pdfview$', PDFView.as_view(), name='pdf'), url(r'^$', CourseListView.as_view(model=Course), name='home'), ) -- 2.25.1