add async

This commit is contained in:
xuyue committed 2025-03-10 18:38:42 +08:00
1 parent 60932c57f9
commit 515139ad4b
5 files changed
+32 -14

No files matched your search

+1 -1
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(