mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 23:17:09 +00:00
add points field to task schema
This commit is contained in:
@@ -16,6 +16,7 @@ class TaskOutSchema(ModelSchema):
|
|||||||
"description",
|
"description",
|
||||||
"type",
|
"type",
|
||||||
"in_competition_position",
|
"in_competition_position",
|
||||||
|
"points",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -26,10 +26,10 @@ class Competition(BaseModel):
|
|||||||
upload_to=image_url_upload_to,
|
upload_to=image_url_upload_to,
|
||||||
)
|
)
|
||||||
end_date = models.DateTimeField(
|
end_date = models.DateTimeField(
|
||||||
verbose_name="дедлайн участия", null=True, blank=True
|
verbose_name="окончание соревнования", null=True, blank=True
|
||||||
)
|
)
|
||||||
start_date = models.DateTimeField(
|
start_date = models.DateTimeField(
|
||||||
verbose_name="дедлайн участия", null=True, blank=True
|
verbose_name="начало соревнования", null=True, blank=True
|
||||||
)
|
)
|
||||||
type = models.CharField(
|
type = models.CharField(
|
||||||
max_length=11,
|
max_length=11,
|
||||||
|
|||||||
Reference in New Issue
Block a user