ecommerce/products/migrations/0006_product_time.py

23 lines
557 B
Python
Raw Permalink Normal View History

2018-09-10 23:16:35 +03:00
# -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2018-07-29 13:49
from __future__ import unicode_literals
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('products', '0005_auto_20180729_1104'),
]
operations = [
migrations.AddField(
model_name='product',
name='time',
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
preserve_default=False,
),
]