add fills

This commit is contained in:
2026-04-23 13:48:31 -06:00
parent 16b050c195
commit 0c6de0babe
5 changed files with 25 additions and 146 deletions

View File

@@ -29,6 +29,7 @@ class Exercise(models.Model):
TYPE_CHOICES = [
("mcq", "选择题"),
("sort", "代码排序"),
("fill", "代码填空"),
]
tutorial = models.ForeignKey(Tutorial, on_delete=models.CASCADE, related_name="exercises")