Added next button in order detail view after the user make a payment, Avoid to regenerate SSH Key if the user refresh the page, Now the key is served to download from javascript , Added public_key attribute to VirtualVMPlan in order to store keys created by the user, Now private key has PEM format and public has OpenSSH
This commit is contained in:
parent
35e312411f
commit
b4164e56ab
7 changed files with 140 additions and 33 deletions
21
hosting/migrations/0018_virtualmachineplan_public_key.py
Normal file
21
hosting/migrations/0018_virtualmachineplan_public_key.py
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.4 on 2016-05-24 03:57
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('hosting', '0017_virtualmachinetype_location'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='virtualmachineplan',
|
||||
name='public_key',
|
||||
field=models.TextField(default='sada'),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue