From d4f8e3ab49c4bcc294190d0ed6ad51100bff8752 Mon Sep 17 00:00:00 2001 From: Iacopo Spalletti Date: Thu, 3 Mar 2016 20:12:03 +0100 Subject: [PATCH] Move from make_full_url to build_absolute_uri --- djangocms_blog/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/djangocms_blog/models.py b/djangocms_blog/models.py index 564c570..f85848a 100644 --- a/djangocms_blog/models.py +++ b/djangocms_blog/models.py @@ -252,7 +252,7 @@ class Post(ModelMeta, TranslatableModel): def get_image_full_url(self): if self.main_image: - return self.make_full_url(self.main_image.url) + return self.build_absolute_uri(self.main_image.url) return '' def get_tags(self): @@ -283,7 +283,7 @@ class Post(ModelMeta, TranslatableModel): return get_setting('IMAGE_FULL_SIZE') def get_full_url(self): - return self.make_full_url(self.get_absolute_url()) + return self.build_absolute_uri(self.get_absolute_url()) class BasePostPlugin(CMSPlugin):