route, form, and domain methods for updating workspace name

This commit is contained in:
dandds
2018-09-17 11:40:58 -04:00
parent fbdf8b0ee6
commit 021871ec16
5 changed files with 63 additions and 8 deletions

8
atst/forms/workspace.py Normal file
View File

@@ -0,0 +1,8 @@
from wtforms.fields import StringField
from wtforms.validators import Length
from .forms import ValidatedForm
class WorkspaceForm(ValidatedForm):
name = StringField("Workspace Name", validators=[Length(min=4, max=50)])