summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/migrations/0101_squashed.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_warehouse/migrations/0101_squashed.py')
-rw-r--r--archaeological_warehouse/migrations/0101_squashed.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_warehouse/migrations/0101_squashed.py b/archaeological_warehouse/migrations/0101_squashed.py
index 0a6472a52..7782ce43d 100644
--- a/archaeological_warehouse/migrations/0101_squashed.py
+++ b/archaeological_warehouse/migrations/0101_squashed.py
@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.27 on 2020-01-23 18:21
-import datetime
from django.conf import settings
import django.contrib.gis.db.models.fields
import django.contrib.postgres.fields.jsonb
@@ -9,6 +8,7 @@ import django.contrib.postgres.search
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
+import django.utils.timezone
import ishtar_common.models
import ishtar_common.models_common
import re
@@ -32,7 +32,7 @@ class Migration(migrations.Migration):
('history_m2m', django.contrib.postgres.fields.jsonb.JSONField(blank=True, default={})),
('need_update', models.BooleanField(default=False, verbose_name='Need update')),
('locked', models.BooleanField(default=False, verbose_name='Item locked for edition')),
- ('history_date', models.DateTimeField(default=datetime.datetime.now)),
+ ('history_date', models.DateTimeField(default=django.utils.timezone.now)),
('name', models.CharField(blank=True, max_length=200, null=True, verbose_name='Name')),
('description', models.TextField(blank=True, null=True, verbose_name='Description')),
('history_creator', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL, verbose_name='Creator')),
@@ -72,7 +72,7 @@ class Migration(migrations.Migration):
('history_m2m', django.contrib.postgres.fields.jsonb.JSONField(blank=True, default={})),
('need_update', models.BooleanField(default=False, verbose_name='Need update')),
('locked', models.BooleanField(default=False, verbose_name='Item locked for edition')),
- ('history_date', models.DateTimeField(default=datetime.datetime.now)),
+ ('history_date', models.DateTimeField(default=django.utils.timezone.now)),
('uuid', models.UUIDField(default=uuid.uuid4)),
('reference', models.TextField(verbose_name='Container ref.')),
('comment', models.TextField(blank=True, null=True, verbose_name='Comment')),