Allow trailing slash on course page #129
authorCharles Connell <charles@connells.org>
Thu, 16 Jan 2014 15:06:18 +0000 (10:06 -0500)
committerCharles Connell <charles@connells.org>
Thu, 16 Jan 2014 15:06:18 +0000 (10:06 -0500)
karmaworld/urls.py

index b859767e37edd597f48e70fc35acca8352bdeeba..2f1def013f1b24e733059b4d6d21200fcd454b0c 100644 (file)
@@ -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