mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 01:37:11 +00:00
Merge branch 'master' of gitlab.prodcontest.ru:team-15/project
This commit is contained in:
@@ -14,7 +14,7 @@ class User(BaseModel):
|
||||
password = models.TextField(verbose_name="Пароль")
|
||||
|
||||
status = models.CharField(
|
||||
max_length=10, choices=UserRole.choices, default=UserRole.STUDENT
|
||||
max_length=10, choices=UserRole, default="student"
|
||||
)
|
||||
|
||||
def __str__(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user