This commit is contained in:
Ross
2021-12-06 15:33:03 +00:00
parent 8a0074977e
commit 63f00480a0
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -339,6 +339,9 @@ class Series(models.Model):
def get_absolute_url(self): def get_absolute_url(self):
return reverse("series:question_detail", kwargs={"pk": self.pk}) return reverse("series:question_detail", kwargs={"pk": self.pk})
# def get_string(self):
# examination = self.get_examination_full()
# return
def get_author_objects(self): def get_author_objects(self):
"""Returns a comma seperated text list of authors""" """Returns a comma seperated text list of authors"""
@@ -47,7 +47,7 @@
{% for finding in series.findings.all %} {% for finding in series.findings.all %}
<div class="finding-box"> <div class="finding-box">
<span> <span>
Series: {{series}} |&nbsp; Series: {{series.get_examination_full}} |&nbsp;
</span> </span>
{% if finding.findings.all %} {% if finding.findings.all %}
<span> <span>