mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-11-20 16:47:53 +00:00
add verbose names to submissions check status
This commit is contained in:
1 parent
fd01fbd903
commit
ebb79117d4
1 file changed
+3
-3
@@ -94,9 +94,9 @@ class CompetitionTaskAttachment(BaseModel):
|
||||
|
||||
class CompetitionTaskSubmission(BaseModel):
|
||||
class StatusChoices(models.TextChoices):
|
||||
SENT = "sent"
|
||||
CHECKING = "checking"
|
||||
CHECKED = "checked"
|
||||
SENT = "sent", "Отправлено на проверку"
|
||||
CHECKING = "checking", "Проверка"
|
||||
CHECKED = "checked", "Проверено"
|
||||
|
||||
def submission_content_upload_to(instance, filename) -> str:
|
||||
return f"submissions/{instance.id}/content/{filename}"
|
||||
|
||||
Reference in new issue
Block a user