Add a cli/forms.py module including helpers
to create and handle Urwid forms.
Allow for creating a new environment from the
env_index view.
Implement the env_edit view, used for creating
or updating environments.
Fix a corner case in envs.set_env_data: delete
the env_db default key only if the environments
has been modified.
Tests: `make check`.
QA: start the demo app
(`make` and `./cli-app-demo.py).
Use it to edit existing environments and
to create new ones (ec2 and local).
Check form errors are correctly handled.
Exit the demo app with either ^X or
selecting an environment to use. The
demo app should show changes on exit,
and notify whether a new db has been saved
and/or an environment has been selected.
*** Submitted:
Implement the environment create/edit view.
Add a cli/forms.py module including helpers
to create and handle Urwid forms.
Allow for creating a new environment from the
env_index view.
Implement the env_edit view, used for creating
or updating environments.
Fix a corner case in envs.set_env_data: delete
the env_db default key only if the environments
has been modified.
Tests: `make check`.
QA: start the demo app app-demo. py).
(`make` and `./cli-
Use it to edit existing environments and
to create new ones (ec2 and local).
Check form errors are correctly handled.
Exit the demo app with either ^X or
selecting an environment to use. The
demo app should show changes on exit,
and notify whether a new db has been saved
and/or an environment has been selected.
R=gary.poster, benji1 /codereview. appspot. com/44750044
CC=
https:/
https:/ /codereview. appspot. com/44750044/