63: Ошибка при создании тарифного плана

This commit is contained in:
Vyacheslav Anzhiganov 2016-06-02 03:47:55 +03:00
parent 2a44eca4d7
commit 8176b078c9
3 changed files with 6 additions and 1 deletions

View file

@ -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>

View file

@ -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'),

View file

@ -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=[