This commit is contained in:
Ross
2021-09-09 18:07:25 +01:00
parent 803dbf8750
commit 4d85003126
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ class Rapid(models.Model):
help_text="If a question should be freely available to browse", default=True help_text="If a question should be freely available to browse", default=True
) )
anon_notes = GenericRelation(QuestionNote) notes = GenericRelation(QuestionNote)
def get_absolute_url(self): def get_absolute_url(self):
@@ -60,7 +60,7 @@
{% if view_feedback %} {% if view_feedback %}
Notes: Notes:
<ul class="notes"> <ul class="notes">
{% for note in question.anon_notes.all %} {% for note in question.notes.all %}
<li {% if note.complete %}class='complete' {% endif %}> <li {% if note.complete %}class='complete' {% endif %}>
{{ note.created_on }} by {{ note.created_on }} by
{% if note.user_author %} {% if note.user_author %}