<form action ="{% url 'quiz:question_create' %}" method="POST">
<fieldset>
{% csrf_token %}
<input type="text" id ="question_text_input" name="question_text_input" value={{question_text}}>
<label for="question_text_input">Enter your question</label><br>
{% for i in answer_list_like_range %}
<input type="text" id ={{forloop.counter}} name="choice_text_{{forloop.counter}}">
<label for={{forloop.counter}}>Enter answer {{forloop.counter}}</label><br>
{% endfor %}
<input type="submit" value="Create">
{% if error_message %}
{{ error_message }}
{% endif %}
</fieldset>
</form>
<QueryDict: { 'question_text_input':['A'], 'choice_text_1': ['B'], 'choice_text_2': ['C'], 'choice_text_3': ['D']}>
choice_keys = [choice_key for choice_key in request.POST if 'choice_text_' in choice_key]
choice_dict = dict()
for choice_key in choice_keys:
choice_dict[request.POST[choice_key]] = 0