This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/articles/migrations/0007_auto_20200817_0941.py

20 lines
469 B
Python
Raw Normal View History

2020-08-17 09:57:24 +02:00
# Generated by Django 3.1 on 2020-08-17 07:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("articles", "0006_page"),
]
operations = [
migrations.AlterModelOptions(
2020-09-05 09:09:59 +02:00
name="page", options={"ordering": ["position", "-published_at"]}
2020-08-17 09:57:24 +02:00
),
migrations.AddField(
2020-09-05 09:09:59 +02:00
model_name="page", name="position", field=models.IntegerField(default=0)
2020-08-17 09:57:24 +02:00
),
]