changer gestion des team intra tryout
CI - Security, Lint & Tests / validate (push) Failing after 1m4s
CI - Security, Lint & Tests / validate (push) Failing after 1m4s
This commit is contained in:
@@ -605,6 +605,18 @@ class TryoutTeamMemberSchema(StripMixin):
|
||||
)
|
||||
|
||||
|
||||
class TryoutTeamMemberPositionSchema(StripMixin):
|
||||
"""Update a team member's in-game position (role)."""
|
||||
|
||||
position = fields.String(
|
||||
load_default='',
|
||||
validate=validate.Length(
|
||||
max=50,
|
||||
error=_l('Position must be 50 characters or less.'),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
class NoteContentSchema(StripMixin):
|
||||
"""Bounded text stored as a team or personal coaching note."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user