Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
radiopanik
django-panik-newsletter
Commits
dc5bbef4
Commit
dc5bbef4
authored
Jan 28, 2021
by
fred
Browse files
refer to confirmation page by name
parent
083fe8df
Changes
1
Hide whitespace changes
Inline
Side-by-side
newsletter/views.py
View file @
dc5bbef4
...
...
@@ -30,8 +30,7 @@ from .models import Subscriber, Newsletter
class
SubscribeView
(
CreateView
):
form_class
=
SubscribeForm
model
=
Subscriber
success_url
=
'thanks'
success_url
=
reverse_lazy
(
'newsletter-thanks'
)
subscribe
=
csrf_exempt
(
SubscribeView
.
as_view
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment