Allow _ (underscores) in group names.
This commit is contained in:
parent
001c6064eb
commit
3caef15344
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class GroupCreate(validators.Schema):
|
|||
name = validators.All(
|
||||
UnknownGroup,
|
||||
validators.String(max=32, min=3),
|
||||
validators.Regex(regex='^[a-z0-9\-]+$'),
|
||||
validators.Regex(regex='^[a-z0-9\-_]+$'),
|
||||
)
|
||||
display_name = validators.NotEmpty
|
||||
owner = validators.All(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue