update
This commit is contained in:
2
.github/workflows/depley.yaml
vendored
2
.github/workflows/depley.yaml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: root
|
||||
key: ${{ secrets.Key }}
|
||||
key: ${{ secrets.KEY }}
|
||||
script: |
|
||||
cd ~/WebPreview/api
|
||||
git pull
|
||||
|
||||
@@ -10,7 +10,8 @@ class Tutorial(TimeStampedModel):
|
||||
|
||||
def __str__(self):
|
||||
return self.title
|
||||
|
||||
|
||||
class Meta:
|
||||
ordering = ("display",)
|
||||
verbose_name = "教程"
|
||||
verbose_name_plural = verbose_name
|
||||
|
||||
Reference in New Issue
Block a user