X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/875efc3090b43807d41438a98f3e84ceafecab51..a7d1e3cd75cd56c3f9a5ddceb63196aad9d1db65:/src/push/views.py diff --git a/src/push/views.py b/src/push/views.py index bbcf89d6d..9de754edf 100644 --- a/src/push/views.py +++ b/src/push/views.py @@ -1,11 +1,10 @@ -# -*- 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. # from django.contrib.auth.decorators import permission_required -from django.core.urlresolvers import reverse from django.http.response import HttpResponseRedirect from django.shortcuts import render +from django.urls import reverse from push.forms import NotificationForm @@ -23,4 +22,4 @@ def notification_form(request): def notification_sent(request): - return render(request, 'push/notification_sent.html') \ No newline at end of file + return render(request, 'push/notification_sent.html')