This commit is contained in:
2025-06-14 17:55:32 +08:00
parent 45d727a9e0
commit 0b576bd67d
3 changed files with 35 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ class Tutorial(models.Model):
order = models.IntegerField(default=0)
class Meta:
db_table = "tutorial"
ordering = ['order', '-created_at']
def __str__(self):