mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-07 10:48:26 -04:00
add schema and hook up blueprint
This commit is contained in:
@@ -100,8 +100,13 @@ class UserSchema(BaseSchema):
|
||||
class Meta:
|
||||
model = models.User
|
||||
exclude = (
|
||||
"updated_at", "created_at", "user_to_service", "user_to_organisation"
|
||||
"_password", "verify_codes")
|
||||
"updated_at",
|
||||
"created_at",
|
||||
"user_to_service",
|
||||
"user_to_organisation",
|
||||
"_password",
|
||||
"verify_codes"
|
||||
)
|
||||
strict = True
|
||||
|
||||
@validates('name')
|
||||
|
||||
Reference in New Issue
Block a user