.
This commit is contained in:
@@ -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}} |
|
Series: {{series.get_examination_full}} |
|
||||||
</span>
|
</span>
|
||||||
{% if finding.findings.all %}
|
{% if finding.findings.all %}
|
||||||
<span>
|
<span>
|
||||||
|
|||||||
Reference in New Issue
Block a user