replace http with https
This commit is contained in:
+2
-2
@@ -152,7 +152,7 @@ class Long(models.Model):
|
||||
|
||||
def GetImageUrls(self):
|
||||
return ",".join(
|
||||
["http://penracourses.org.uk{}".format(i.url) for i in self.GetImages()]
|
||||
["https://penracourses.org.uk{}".format(i.url) for i in self.GetImages()]
|
||||
)
|
||||
|
||||
def GetUnmarkedAnswerCount(self):
|
||||
@@ -308,7 +308,7 @@ class LongSeries(models.Model):
|
||||
|
||||
def get_image_urls(self, feedback=False):
|
||||
images = [
|
||||
"http://penracourses.org.uk{}".format(i.image.url)
|
||||
"https://penracourses.org.uk{}".format(i.image.url)
|
||||
for i in self.images.all()
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user