From eb843172ff5084397f53238ef51a6a474da31046 Mon Sep 17 00:00:00 2001 From: e0d Date: Mon, 13 May 2013 14:02:41 -0400 Subject: [PATCH] Enable Delft and Georgetown to be handled by the dynamic path --- lms/urls.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lms/urls.py b/lms/urls.py index b00813a40d..d5b0e46bb9 100644 --- a/lms/urls.py +++ b/lms/urls.py @@ -61,10 +61,12 @@ urlpatterns = ('', # nopep8 url(r'^heartbeat$', include('heartbeat.urls')), + ## + ## Only universities without courses should be included here. If + ## courses exist, the dynamic profile rule below should win. + ## url(r'^(?i)university_profile/WellesleyX$', 'courseware.views.static_university_profile', name="static_university_profile", kwargs={'org_id': 'WellesleyX'}), - url(r'^(?i)university_profile/GeorgetownX$', 'courseware.views.static_university_profile', - name="static_university_profile", kwargs={'org_id': 'GeorgetownX'}), url(r'^(?i)university_profile/McGillX$', 'courseware.views.static_university_profile', name="static_university_profile", kwargs={'org_id': 'McGillX'}), url(r'^(?i)university_profile/TorontoX$', 'courseware.views.static_university_profile', @@ -73,8 +75,6 @@ urlpatterns = ('', # nopep8 name="static_university_profile", kwargs={'org_id': 'RiceX'}), url(r'^(?i)university_profile/ANUx$', 'courseware.views.static_university_profile', name="static_university_profile", kwargs={'org_id': 'ANUx'}), - url(r'^(?i)university_profile/DelftX$', 'courseware.views.static_university_profile', - name="static_university_profile", kwargs={'org_id': 'DelftX'}), url(r'^(?i)university_profile/EPFLx$', 'courseware.views.static_university_profile', name="static_university_profile", kwargs={'org_id': 'EPFLx'}),