Be more direct about where modx_dispatch is located and where it is used

This commit is contained in:
Calen Pennington
2012-06-04 09:19:00 -04:00
parent e24df47b0b
commit 7cf4b1597c
2 changed files with 1 additions and 2 deletions

View File

@@ -16,7 +16,6 @@ from django.views.decorators.cache import cache_control
from lxml import etree
from module_render import render_x_module, make_track_function, I4xSystem
from module_render import modx_dispatch #Note that this is not used in this file, but urls refers to courseware.views.modx_dispatch
from models import StudentModule
from student.models import UserProfile
from multicourse import multicourse_settings

View File

@@ -54,7 +54,7 @@ if settings.COURSEWARE_ENABLED:
url(r'^courseware/(?P<course>[^/]*)/(?P<chapter>[^/]*)/$', 'courseware.views.index', name="courseware_chapter"),
url(r'^courseware/(?P<course>[^/]*)/$', 'courseware.views.index', name="courseware_course"),
url(r'^section/(?P<section>[^/]*)/$', 'courseware.views.render_section'),
url(r'^modx/(?P<module>[^/]*)/(?P<id>[^/]*)/(?P<dispatch>[^/]*)$', 'courseware.views.modx_dispatch'), #reset_problem'),
url(r'^modx/(?P<module>[^/]*)/(?P<id>[^/]*)/(?P<dispatch>[^/]*)$', 'courseware.module_render.modx_dispatch'), #reset_problem'),
url(r'^profile$', 'courseware.views.profile'),
url(r'^profile/(?P<student_id>[^/]*)/$', 'courseware.views.profile'),
url(r'^change_setting$', 'student.views.change_setting'),