added redirect after create vm ssh key
This commit is contained in:
parent
c59fcd4b16
commit
ee80181a55
3 changed files with 24 additions and 10 deletions
|
|
@ -51,6 +51,9 @@ class PricingView(TemplateView):
|
|||
|
||||
request.session['template'] = VirtualMachineTemplateSerializer(template).data
|
||||
|
||||
if not request.user.is_authenticated():
|
||||
request.session['next'] = reverse('hosting:payment')
|
||||
|
||||
request.session['specs'] = {
|
||||
'cpu':cores,
|
||||
'memory': memory,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue