add async

This commit is contained in:
2025-03-10 18:38:42 +08:00
parent 60932c57f9
commit 515139ad4b
5 changed files with 32 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ class Task(TimeStampedModel):
("tutorial", "Tutorial"),
]
display = models.IntegerField(unique=True)
display = models.IntegerField(unique=True, db_index=True)
title = models.CharField(max_length=100)
content = models.TextField()
task_type = models.CharField(