From a8c70d3531d4730ed1652ca83e2ff62db64b694f Mon Sep 17 00:00:00 2001 From: Victor Shnayder Date: Wed, 18 Jul 2012 16:23:29 -0400 Subject: [PATCH] add todo --- lms/djangoapps/courseware/module_render.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lms/djangoapps/courseware/module_render.py b/lms/djangoapps/courseware/module_render.py index cb462d98e1..4d6f30e8a8 100644 --- a/lms/djangoapps/courseware/module_render.py +++ b/lms/djangoapps/courseware/module_render.py @@ -129,6 +129,7 @@ def get_module(user, request, location, student_module_cache, position=None): instance_state = instance_module.state if instance_module is not None else None shared_state = shared_module.state if shared_module is not None else None + # TODO (vshnayder): fix hardcoded urls (use reverse) # Setup system context for module instance ajax_url = settings.MITX_ROOT_URL + '/modx/' + descriptor.location.url() + '/' xqueue_callback_url = settings.MITX_ROOT_URL + '/xqueue/' + str(user.id) + '/' + descriptor.location.url() + '/'