return[u.nameforuinUserTestGroup.objects.raw("select * from auth_user, student_usertestgroup, student_usertestgroup_users where auth_user.id = student_usertestgroup_users.user_id and student_usertestgroup_users.usertestgroup_id = student_usertestgroup.id and auth_user.id = %s",[user.id])]
# return [u.name for u in UserTestGroup.objects.raw("select * from auth_user, student_usertestgroup, student_usertestgroup_users where auth_user.id = student_usertestgroup_users.user_id and student_usertestgroup_users.usertestgroup_id = student_usertestgroup.id and auth_user.id = %s", [user.id])]
defcourse_xml_process(tree):
defcourse_xml_process(tree):
''' Do basic pre-processing of an XML tree. Assign IDs to all
''' Do basic pre-processing of an XML tree. Assign IDs to all