This commit is contained in:
Ross
2021-02-14 23:08:05 +00:00
parent c5a0580fc1
commit d2e40f6f19
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ class LongSeries(models.Model):
def get_image_urls(self, feedback=False):
images = [
"http://penracourses.org.uk{}".format(i.image.url)
for i in self.images.all()
for i in self.images.order_by("position")
]
return ",".join(images)