+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import json
from urllib.parse import urlencode
from urllib.request import HTTPError
self.save()
- return response.get('redirectUri', self.schedule.get_absolute_url())
+ return response.get('redirectUri', self.schedule.get_thanks_url())
class Notification(models.Model):