From d1276e9af7fb922a133f19adb6d3c1f341356863 Mon Sep 17 00:00:00 2001 From: Piotr Mitros Date: Sun, 4 Mar 2012 14:06:08 -0500 Subject: [PATCH] Missed a spot --- courseware/module_render.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/courseware/module_render.py b/courseware/module_render.py index 59660ad687..82fafa3234 100644 --- a/courseware/module_render.py +++ b/courseware/module_render.py @@ -48,9 +48,9 @@ def make_track_function(request): def modx_dispatch(request, module=None, dispatch=None, id=None): ''' Generic view for extensions. ''' # Grab the student information for the module from the database - #s = StudentModule.objects.filter(student=request.user, - # module_id=id) - s = StudentModule.get_with_caching(request.user, id) + s = StudentModule.objects.filter(student=request.user, + module_id=id) + #s = StudentModule.get_with_caching(request.user, id) if s is None: log.debug("Couldnt find module for user and id " + str(module) + " " + str(request.user) + " "+ str(id)) raise Http404