Commit cbc39860 by Calen Pennington

Remove access to survey

parent 0fe79b7e
...@@ -46,10 +46,6 @@ def certificate_request(request): ...@@ -46,10 +46,6 @@ def certificate_request(request):
if len(error) > 0: if len(error) > 0:
return return_error(error) return return_error(error)
survey_response = record_exit_survey(request, internal_request=True)
if not survey_response['success']:
return return_error( survey_response['error'] )
grade = None grade = None
student_gradesheet = grades.grade_sheet(request.user) student_gradesheet = grades.grade_sheet(request.user)
grade = student_gradesheet['grade'] grade = student_gradesheet['grade']
......
...@@ -35,18 +35,6 @@ ...@@ -35,18 +35,6 @@
</ul> </ul>
</fieldset> </fieldset>
%if not took_survey:
<fieldset id="survey_fieldset">
<h1>Thank you for taking 6.002x! You could help us a lot by filling out this (optional) survey.</h1>
<p>This survey is collected only for research purposes. It is completely optional and will not affect your grade.</p>
${survey_fields.body(survey_list)}
</fieldset>
%endif
<input type="submit" id="" value="Generate Certificate" /> <input type="submit" id="" value="Generate Certificate" />
</form> </form>
......
...@@ -44,7 +44,7 @@ urlpatterns = ('', ...@@ -44,7 +44,7 @@ urlpatterns = ('',
if settings.END_COURSE_ENABLED: if settings.END_COURSE_ENABLED:
urlpatterns += ( urlpatterns += (
url(r'^certificate_request$', 'certificates.views.certificate_request'), url(r'^certificate_request$', 'certificates.views.certificate_request'),
url(r'^exit_survey$','student.views.record_exit_survey'), # url(r'^exit_survey$','student.views.record_exit_survey'),
) )
if settings.PERFSTATS: if settings.PERFSTATS:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment