This commit is contained in:
2025-03-04 22:56:48 +08:00
parent 59388fd44d
commit 083ac6d3bd
2 changed files with 3 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ jobs:
with: with:
host: ${{ secrets.HOST }} host: ${{ secrets.HOST }}
username: root username: root
key: ${{ secrets.Key }} key: ${{ secrets.KEY }}
script: | script: |
cd ~/WebPreview/api cd ~/WebPreview/api
git pull git pull

View File

@@ -10,7 +10,8 @@ class Tutorial(TimeStampedModel):
def __str__(self): def __str__(self):
return self.title return self.title
class Meta: class Meta:
ordering = ("display",)
verbose_name = "教程" verbose_name = "教程"
verbose_name_plural = verbose_name verbose_name_plural = verbose_name