This commit is contained in:
Ross
2021-08-21 09:36:55 +01:00
parent 0fbf23b4ce
commit 506e5111ce
9 changed files with 29 additions and 10 deletions
@@ -27,7 +27,7 @@
<a href="{% url 'admin:anatomy_anatomyquestion_change' question.id %}"
title="Edit the Question using the admin interface">Admin Edit</a>
<div class="date">
Created: {{ question.created_date }}
Created: {{ question.created_date|date:"d/m/Y" }}
</div>
<h1>{{ question.get_primary_answer }}</h1>
<h2>{{question.question_type}}</h2>
+1 -1
View File
@@ -4,7 +4,7 @@
{% for question in questions %}
<div class="anatomy">
<div class="date">
{{ question.created_date }}
{{ question.created_date|date:"d/m/Y" }}
</div>
<h1><a href="{% url 'anatomy:question_detail' pk=question.pk %}">{% for answer in question.answers.all %}
{{ answer }},