From 05bf8db38ac5fb75c29ae7e8225693bd8fe8a9b7 Mon Sep 17 00:00:00 2001 From: Levi Date: Sun, 21 May 2017 22:39:47 -0500 Subject: [PATCH] added next url to ssh create key view --- hosting/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosting/views.py b/hosting/views.py index ef1a9226..15306e13 100644 --- a/hosting/views.py +++ b/hosting/views.py @@ -391,6 +391,8 @@ class PaymentVMView(LoginRequiredMixin, FormView): return context def get(self, request, *args, **kwargs): + if 'next' in request.session: + del request.session['next'] try: UserHostingKey.objects.get(