Merge pull request #256 from levivm/develop
added next url to ssh create key view
This commit is contained in:
commit
f73ed7fad7
1 changed files with 2 additions and 0 deletions
|
@ -391,6 +391,8 @@ class PaymentVMView(LoginRequiredMixin, FormView):
|
||||||
return context
|
return context
|
||||||
|
|
||||||
def get(self, request, *args, **kwargs):
|
def get(self, request, *args, **kwargs):
|
||||||
|
if 'next' in request.session:
|
||||||
|
del request.session['next']
|
||||||
|
|
||||||
try:
|
try:
|
||||||
UserHostingKey.objects.get(
|
UserHostingKey.objects.get(
|
||||||
|
|
Loading…
Reference in a new issue