mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-11-20 16:47:53 +00:00
SOME ABEBE
This commit is contained in:
1 parent
930fb23bbc
commit
baacef032a
8 files changed
+75
-9
No files matched your search
@@ -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