diff options
Diffstat (limited to 'app/jrnl/models.py')
-rw-r--r-- | app/jrnl/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/jrnl/models.py b/app/jrnl/models.py index da6d947..844db12 100644 --- a/app/jrnl/models.py +++ b/app/jrnl/models.py @@ -134,7 +134,7 @@ class Entry(models.Model): def get_image_wide_url(self): img = self.image.url.split('post-images/')[1].split('/')[1] # return '%shome-images/%s' % (settings.IMAGES_URL, img) - return '/media/images/home-images/%s' % (img) + return '%shome-images/%s' % (settings.IMAGES_URL, img) def get_image_hero_url(self): img = self.image.url.split('post-images/')[1].split('/')[1] |