63: Ошибка при создании тарифного плана
This commit is contained in:
parent
2a44eca4d7
commit
8176b078c9
3 changed files with 6 additions and 1 deletions
|
@ -11,6 +11,10 @@
|
|||
<td>Name</td>
|
||||
<td><input type="text" name="name" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Price</td>
|
||||
<td><input type="text" name="price" value="100" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Status</td>
|
||||
<td>
|
||||
|
|
|
@ -542,6 +542,7 @@ def plans_create():
|
|||
models.PlansVMs.create(
|
||||
id=plan_id,
|
||||
name=request.form.get('name'),
|
||||
price=request.form.get('price'),
|
||||
status=request.form.get('status'),
|
||||
storage=request.form.get('storage'),
|
||||
swap=request.form.get('swap'),
|
||||
|
|
2
setup.py
2
setup.py
|
@ -4,7 +4,7 @@ from setuptools import setup
|
|||
|
||||
setup(
|
||||
name='SWSCloudCore',
|
||||
version='2.4.9',
|
||||
version='2.4.10',
|
||||
author='Vyacheslav Anzhiganov',
|
||||
author_email='hello@anzhiganov.com',
|
||||
packages=[
|
||||
|
|
Loading…
Add table
Reference in a new issue