diff options
author | Matthew Lemon <y@yulqen.org> | 2024-12-02 17:23:44 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-12-02 17:23:44 +0000 |
commit | eb0643038758c3cac06c2df85a623ddd9474a158 (patch) | |
tree | 002e2d90c080bf39df9f1a025ba61555e2a6334d /alphabetlearning/payments/views.py | |
parent | c036997d8ab45b33d696690b7a3e0b13ccc598e9 (diff) |
Some tweaks to the spurt
Diffstat (limited to '')
-rw-r--r-- | alphabetlearning/payments/views.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/alphabetlearning/payments/views.py b/alphabetlearning/payments/views.py index e9f2ded..07a0177 100644 --- a/alphabetlearning/payments/views.py +++ b/alphabetlearning/payments/views.py @@ -40,6 +40,11 @@ stripe.api_key = settings.STRIPE_SECRET_KEY class SuccessEmailSignupView(TemplateView): template_name = "payments/success_email_signup.html" + def get_context_data(self, **kwargs): + context = super().get_context_data(**kwargs) + context['email'] = self.request.POST.get('email') + return context + def email_signup(request): if request.method == 'POST': email = request.POST.get('email') |