A Demo Course and Demo Quiz will be created (Click Courses link on nav bar to view courses).
-
Some Demo Questions are also created for you (Click Questions link on nav bar to view questions).
-
In Courses you can view Demo Quiz.
-
Click on the Demo Quiz and Click on User Mode or God Mode to take the quiz.
-
You can also edit the Demo quiz.
-
-
+
+
A Demo Course and Demo Quiz will be created (Click Courses link on nav bar to view courses).
+
Some Demo Questions are also created for you (Click Questions link on nav bar to view questions).
+
In Courses you can view Demo Quiz.
+
Click on the Demo Quiz and Click on User Mode or God Mode to take the quiz.
+
You can also edit the Demo quiz.
+
{% if msg %}
-
{{ msg }}
+
{{ msg }}
{% endif %}
{% if trial_paper %}
diff --git a/yaksh/views.py b/yaksh/views.py
index bdb6f49b8..2adc2c399 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -183,6 +183,8 @@ def add_question(request, question_id=None):
question = qform.save(commit=False)
question.user = user
question.save()
+ # many-to-many field save function used to save the tags
+ qform.save_m2m()
for formset in formsets:
if formset.is_valid():
formset.save()