110067722: Added endpoints for add-service

Post is not complete as of yet.
This commit is contained in:
Rebecca Law
2015-12-14 17:12:28 +00:00
parent 4b01335703
commit 350ccda208
9 changed files with 86 additions and 11 deletions

View File

@@ -82,3 +82,7 @@ def validate_code(field, code):
return True
else:
return False
class AddServiceForm(Form):
service_name = StringField(validators=[DataRequired(message='Name can not be empty')])