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>Name</td>
|
||||||
<td><input type="text" name="name" value="" /></td>
|
<td><input type="text" name="name" value="" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Price</td>
|
||||||
|
<td><input type="text" name="price" value="100" /></td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Status</td>
|
<td>Status</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
@ -542,6 +542,7 @@ def plans_create():
|
||||||
models.PlansVMs.create(
|
models.PlansVMs.create(
|
||||||
id=plan_id,
|
id=plan_id,
|
||||||
name=request.form.get('name'),
|
name=request.form.get('name'),
|
||||||
|
price=request.form.get('price'),
|
||||||
status=request.form.get('status'),
|
status=request.form.get('status'),
|
||||||
storage=request.form.get('storage'),
|
storage=request.form.get('storage'),
|
||||||
swap=request.form.get('swap'),
|
swap=request.form.get('swap'),
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -4,7 +4,7 @@ from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='SWSCloudCore',
|
name='SWSCloudCore',
|
||||||
version='2.4.9',
|
version='2.4.10',
|
||||||
author='Vyacheslav Anzhiganov',
|
author='Vyacheslav Anzhiganov',
|
||||||
author_email='hello@anzhiganov.com',
|
author_email='hello@anzhiganov.com',
|
||||||
packages=[
|
packages=[
|
||||||
|
|
Loading…
Add table
Reference in a new issue