.
This commit is contained in:
+1
-1
@@ -223,7 +223,7 @@ class LongSeries(models.Model):
|
|||||||
def get_image_urls(self, feedback=False):
|
def get_image_urls(self, feedback=False):
|
||||||
images = [
|
images = [
|
||||||
"http://penracourses.org.uk{}".format(i.image.url)
|
"http://penracourses.org.uk{}".format(i.image.url)
|
||||||
for i in self.images.order_by("position")
|
for i in self.images.all()
|
||||||
]
|
]
|
||||||
|
|
||||||
return ",".join(images)
|
return ",".join(images)
|
||||||
|
|||||||
Reference in New Issue
Block a user