-# -*- coding: utf-8 -*-
# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
def save(self, commit=True):
notification = super(NotificationForm, self).save(commit=commit)
- wl_base = u'https://' + Site.objects.get_current().domain
+ wl_base = 'https://' + Site.objects.get_current().domain
if notification.image:
image_url = wl_base + notification.image.url
else: