X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e17ba704033aba068a935c1beb42d1f306e6a114..cbe7ef2f04d751e6f719299632d77cfcb29be8f1:/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')