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

View file

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

View file

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