add checkbox and fix spaces in name fields
This commit is contained in:
@@ -10,7 +10,7 @@ NameStr = Annotated[
|
||||
StringConstraints(
|
||||
min_length=2,
|
||||
max_length=50,
|
||||
pattern=r'^[A-Za-zА-ЯЁа-яё]+$'
|
||||
pattern=r'^[A-Za-zА-ЯЁа-яё ]+$'
|
||||
)
|
||||
]
|
||||
class UserAccess(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user