replace http with https

This commit is contained in:
Ross
2021-03-18 23:07:26 +00:00
parent 513b4a3fca
commit 322fbaad26
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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()
]