diff --git a/pinaxcon/templatetags/pyconau2017_tags.py b/pinaxcon/templatetags/pyconau2017_tags.py index 1b78f3cf..894b077f 100644 --- a/pinaxcon/templatetags/pyconau2017_tags.py +++ b/pinaxcon/templatetags/pyconau2017_tags.py @@ -96,6 +96,5 @@ def trackname(room, day): def sponsor_thumbnail(sponsor_logo): if sponsor_logo is not None: if sponsor_logo.upload: - logo_file = os.path.join(settings.MEDIA_URL, str(sponsor_logo.upload)) - return logo_file + return sponsor_logo.upload.url return ""