pracowniapp2/przyrost/migrations/0005_auto_20191125_1050.py

33 lines
921 B
Python
Raw Normal View History

2019-11-25 12:18:15 +01:00
# Generated by Django 2.2.7 on 2019-11-25 09:50
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('przyrost', '0004_auto_20191125_1045'),
]
operations = [
migrations.AddField(
model_name='category',
name='created_at',
field=models.DateTimeField(auto_now_add=True, default=None),
preserve_default=False,
),
migrations.AddField(
model_name='post',
name='created_at',
field=models.DateTimeField(auto_now_add=True, default=None),
preserve_default=False,
),
migrations.AddField(
model_name='user',
name='created_at',
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
preserve_default=False,
),
]