From 4ebe9601764180df7e7225fa3a24993d185ec7ec Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Thu, 16 Jan 2014 10:06:18 -0500 Subject: [PATCH] Allow trailing slash on course page #129 --- karmaworld/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karmaworld/urls.py b/karmaworld/urls.py index b859767..2f1def0 100644 --- a/karmaworld/urls.py +++ b/karmaworld/urls.py @@ -78,7 +78,7 @@ urlpatterns = patterns('', # Filepicker upload url(r'^api/upload$', save_fp_upload, name='upload_post'), # VIEW for displaying a single Course - url(r'^' + SLUG.format('school_') + '/' + SLUG.format('') + '$', + url(r'^' + SLUG.format('school_') + '/' + SLUG.format('') + '/$', CourseDetailView.as_view(), name='course_detail'), ## NOTE MODEL -- 2.25.1