MrDoc/app_doc/migrations/0005_auto_20190727_1232.py

23 lines
594 B
Python

# Generated by Django 2.2.3 on 2019-07-27 04:32
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app_doc', '0004_auto_20190717_0939'),
]
operations = [
migrations.AlterModelOptions(
name='doc',
options={'ordering': ['create_time', '-sort'], 'verbose_name': '文档', 'verbose_name_plural': '文档'},
),
migrations.AddField(
model_name='doc',
name='sort',
field=models.IntegerField(default=99, verbose_name='排序'),
),
]