patt/migrations/0005_project_creation_date.py

21 рядки
497 B
Python

# Generated by Django 2.2.5 on 2019-10-05 11:48
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('patt', '0004_auto_20191004_1125'),
]
operations = [
migrations.AddField(
model_name='project',
name='creation_date',
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
preserve_default=False,
),
]