From 9e31cedc9d9faf735766180bcbdab41a047226ba Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Mon, 3 Jun 2013 21:31:02 -0400 Subject: [PATCH] adding a url for testing pdfs --- karmaworld/urls.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/karmaworld/urls.py b/karmaworld/urls.py index cde1cd4..f72a970 100644 --- a/karmaworld/urls.py +++ b/karmaworld/urls.py @@ -15,6 +15,7 @@ from karmaworld.apps.courses.views import CourseListView from karmaworld.apps.courses.views import school_list from karmaworld.apps.notes.views import NoteView from karmaworld.apps.notes.views import RawNoteDetailView +from karmaworld.apps.notes.views import PDFView # See: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#hooking-adminsite-instances-into-your-urlconf admin.autodiscover() @@ -53,5 +54,6 @@ urlpatterns = patterns('', url(r'^school/list/$', school_list, name='json_school_list'), # ---- end JSON views ----# + url(r'^pdftest$', PDFView.as_view(), name='pdf'), url(r'^$', CourseListView.as_view(model=Course), name='home'), ) -- 2.25.1