webapp form validation
In WebappCreate.form_valid
, we set value for fields not present in the form (like docker_name
).
django doc says that 'you could use [Model.clean()
] to automatically provide a value for a field, or to do validation that requires access to more than a single field'.
So most of the form_valid
code should probably be moved to clean
function.