X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2caf7411aec24c9dda2a166d777010adb5130f9d..07331350ad3e880d9e0260dc061187a151c253c7:/src/newsletter/views.py diff --git a/src/newsletter/views.py b/src/newsletter/views.py index 78d64717e..7fd67b278 100644 --- a/src/newsletter/views.py +++ b/src/newsletter/views.py @@ -1,8 +1,7 @@ -# -*- coding: utf-8 -*- -from django.core.urlresolvers import reverse from django.http import Http404 from django.http.response import HttpResponseRedirect from django.shortcuts import render, get_object_or_404 +from django.urls import reverse from django.utils.translation import ugettext_lazy as _ from newsletter.forms import UnsubscribeForm, SubscribeForm @@ -25,7 +24,7 @@ def subscribe_form(request): def subscribed(request): return render(request, 'newsletter/subscribed.html', { - 'page_title': _(u'Confirmation link sent'), + 'page_title': _(u'Subscribed'), })