lemoncurry/entries/migrations/0006_auto_20171102_1200.py

49 lines
1.3 KiB
Python
Raw Normal View History

# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2017-11-02 01:00
from __future__ import unicode_literals
from django.db import migrations
import django.utils.timezone
import model_utils.fields
class Migration(migrations.Migration):
dependencies = [
2023-08-10 02:52:37 -04:00
("entries", "0005_auto_20171027_1557"),
]
operations = [
migrations.AlterModelOptions(
2023-08-10 02:52:37 -04:00
name="entry",
options={"ordering": ["-created"], "verbose_name_plural": "entries"},
),
migrations.RenameField(
2023-08-10 02:52:37 -04:00
model_name="entry",
old_name="published",
new_name="created",
),
migrations.RenameField(
2023-08-10 02:52:37 -04:00
model_name="entry",
old_name="updated",
new_name="modified",
),
migrations.AlterField(
2023-08-10 02:52:37 -04:00
model_name="entry",
name="created",
field=model_utils.fields.AutoCreatedField(
default=django.utils.timezone.now,
editable=False,
verbose_name="created",
),
),
migrations.AlterField(
2023-08-10 02:52:37 -04:00
model_name="entry",
name="modified",
field=model_utils.fields.AutoLastModifiedField(
default=django.utils.timezone.now,
editable=False,
verbose_name="modified",
),
),
]