mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-11-20 14:27:48 +00:00
feat: added state to competition response
This commit is contained in:
2 files changed
+9
-1
No files matched your search
@@ -60,5 +60,5 @@ class State(BaseModel):
|
||||
|
||||
user = models.ForeignKey(User, on_delete=models.CASCADE)
|
||||
competition = models.ForeignKey(Competition, on_delete=models.CASCADE)
|
||||
state = models.CharField(choices=StateChoices.choices, max_length=11)
|
||||
state = models.CharField(choices=StateChoices.choices, max_length=11, default=StateChoices.NOT_STARTED.value)
|
||||
changed_at = models.DateTimeField(default=datetime.now)
|
||||
Reference in new issue
Block a user