We need to allow the user to change some of these settings .'''
ifnotrequest.user.is_authenticated():
returnredirect('/')
log.info("Profile called")
logging.info("Now the root")
logging.getLogger("tracking").info("this should be unformatted")
dom=content_parser.course_file(request.user)
hw=[]
...
...
@@ -62,7 +61,7 @@ def profile(request):
correct=response.grade
else:
correct=0
total=courseware.modules.capa_module.LoncapaModule(etree.tostring(p),"id").max_score()# TODO: Add state. Not useful now, but maybe someday problems will have randomized max scores?
total=capa_module.LoncapaModule(etree.tostring(p),"id").max_score()# TODO: Add state. Not useful now, but maybe someday problems will have randomized max scores?