diff --git a/anatomy/templates/anatomy/question_detail.html b/anatomy/templates/anatomy/question_detail.html index 895cb803..2b6a98a3 100644 --- a/anatomy/templates/anatomy/question_detail.html +++ b/anatomy/templates/anatomy/question_detail.html @@ -16,6 +16,7 @@ {% if request.user.is_superuser %} Admin Edit + User answers {% endif %} {% if exam %}
diff --git a/anatomy/templates/anatomy/question_user_answers.html b/anatomy/templates/anatomy/question_user_answers.html new file mode 100644 index 00000000..b74177a4 --- /dev/null +++ b/anatomy/templates/anatomy/question_user_answers.html @@ -0,0 +1,10 @@ +{% extends 'anatomy/base.html' %} + +{% block content %} + + +{% endblock %} \ No newline at end of file diff --git a/anatomy/urls.py b/anatomy/urls.py index 420ce394..74ea6c8e 100644 --- a/anatomy/urls.py +++ b/anatomy/urls.py @@ -42,6 +42,11 @@ urlpatterns = [ views.QuestionDelete.as_view(), name="question_delete", ), + path( + "question//user_answers", + views.GenericViews.question_user_answers, + name="question_user_answers", + ), path( "exam//review", views.GenericViews.question_review,