Fix order logic. Currently you can change contact data ant it's working correctly
This commit is contained in:
19
order/migrations/0014_order_create_time.py
Normal file
19
order/migrations/0014_order_create_time.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 4.1.1 on 2022-09-28 08:47
|
||||
|
||||
import datetime
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('order', '0013_alter_order_date_end_alter_order_date_start'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='create_time',
|
||||
field=models.DateTimeField(default=datetime.datetime.now, editable=False),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user