From: Charles Connell Date: Thu, 16 Jan 2014 15:06:18 +0000 (-0500) Subject: Allow trailing slash on course page #129 X-Git-Tag: release-20150131~232^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4ebe9601764180df7e7225fa3a24993d185ec7ec;p=oweals%2Fkarmaworld.git Allow trailing slash on course page #129 --- 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