排序
All checks were successful
Deploy to Server / deploy (push) Successful in 26s

This commit is contained in:
jeremygan2021
2026-02-25 00:47:50 +08:00
parent 96c12b9e58
commit 05299060dc
4 changed files with 138 additions and 17 deletions

View File

@@ -0,0 +1,22 @@
# Generated by Django 6.0.1 on 2026-02-24 16:44
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('community', '0013_alter_reply_options_reply_is_pinned'),
]
operations = [
migrations.AlterModelOptions(
name='topic',
options={'ordering': ['order', '-is_pinned', '-created_at'], 'verbose_name': '论坛帖子', 'verbose_name_plural': '论坛帖子管理'},
),
migrations.AddField(
model_name='topic',
name='order',
field=models.IntegerField(default=0, verbose_name='排序'),
),
]