1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Generated by Django 2.2.6 on 2019-12-07 09:22
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('normalize', '0001_initial'),
]
operations = [
migrations.AlterModelOptions(
name='relatedpost',
options={'get_latest_by': 'pub_date', 'ordering': ('model_name', '-pub_date')},
),
migrations.AddField(
model_name='relatedpost',
name='pub_date',
field=models.DateTimeField(default=datetime.datetime(2019, 12, 7, 9, 22, 37, 450036), verbose_name='Date published'),
preserve_default=False,
),
]
|