fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
escape user-provided strings used in regular expressions
[wolnelektury.git]
/
src
/
newsletter
/
views.py
diff --git
a/src/newsletter/views.py
b/src/newsletter/views.py
index
c1e4fbb
..
78d6471
100644
(file)
--- a/
src/newsletter/views.py
+++ b/
src/newsletter/views.py
@@
-18,14
+18,14
@@
def subscribe_form(request):
else:
form = SubscribeForm()
return render(request, 'newsletter/subscribe_form.html', {
else:
form = SubscribeForm()
return render(request, 'newsletter/subscribe_form.html', {
- 'page_title': _(u'Subscribe'),
+ 'page_title': _(u'Subscribe
To Newsletter
'),
'form': form,
})
def subscribed(request):
return render(request, 'newsletter/subscribed.html', {
'form': form,
})
def subscribed(request):
return render(request, 'newsletter/subscribed.html', {
- 'page_title': _(u'
Subscribed
'),
+ 'page_title': _(u'
Confirmation link sent
'),
})
})
@@
-61,4
+61,4
@@
def unsubscribe_form(request):
def unsubscribed(request):
return render(request, 'newsletter/unsubscribed.html', {
'page_title': _(u'Unsubscribed'),
def unsubscribed(request):
return render(request, 'newsletter/unsubscribed.html', {
'page_title': _(u'Unsubscribed'),
- })
\ No newline at end of file
+ })