mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 07:27:10 +00:00
SOME ABEBE
This commit is contained in:
@@ -13,9 +13,11 @@ class User(BaseModel):
|
||||
username = models.SlugField(unique=True, verbose_name="Юзернейм")
|
||||
password = models.TextField(verbose_name="Пароль")
|
||||
|
||||
status = models.CharField(max_length=10, choices=UserRole.choices, default=UserRole.STUDENT)
|
||||
status = models.CharField(
|
||||
max_length=10, choices=UserRole.choices, default=UserRole.STUDENT
|
||||
)
|
||||
|
||||
def __str__(self):
|
||||
def __str__(self) -> str:
|
||||
return self.username
|
||||
|
||||
class Meta:
|
||||
|
||||
Reference in New Issue
Block a user