summaryrefslogtreecommitdiff
path: root/ishtar_common/migrations/0201_squashed.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/migrations/0201_squashed.py')
-rw-r--r--ishtar_common/migrations/0201_squashed.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ishtar_common/migrations/0201_squashed.py b/ishtar_common/migrations/0201_squashed.py
index 6a21afd2f..c16ebf764 100644
--- a/ishtar_common/migrations/0201_squashed.py
+++ b/ishtar_common/migrations/0201_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
@@ -42,7 +42,7 @@ class Migration(migrations.Migration):
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('state', models.CharField(choices=[('S', 'Scheduled'), ('P', 'In progress'), ('FE', 'Finished with errors'), ('F', 'Finished')], default='S', max_length=2, verbose_name='State')),
- ('creation_date', models.DateTimeField(default=datetime.datetime.now)),
+ ('creation_date', models.DateTimeField(default=django.utils.timezone.now)),
('launch_date', models.DateTimeField(blank=True, null=True)),
('finished_date', models.DateTimeField(blank=True, null=True)),
('result', models.TextField(blank=True, null=True, verbose_name='Result')),
@@ -254,7 +254,7 @@ class Migration(migrations.Migration):
('export_dir', models.BooleanField(default=True, verbose_name='Export directory')),
('export_docs', models.BooleanField(default=True, verbose_name='Export documents')),
('export_items', models.BooleanField(default=True, verbose_name='Export main items')),
- ('creation_date', models.DateTimeField(default=datetime.datetime.now)),
+ ('creation_date', models.DateTimeField(default=django.utils.timezone.now)),
('launch_date', models.DateTimeField(blank=True, null=True)),
('finished_date', models.DateTimeField(blank=True, null=True)),
('result', models.FileField(blank=True, null=True, upload_to='exports/%Y/%m/', verbose_name='Result')),
@@ -546,7 +546,7 @@ class Migration(migrations.Migration):
name='ImportTask',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('creation_date', models.DateTimeField(default=datetime.datetime.now)),
+ ('creation_date', models.DateTimeField(default=django.utils.timezone.now)),
('launch_date', models.DateTimeField(blank=True, null=True)),
('finished_date', models.DateTimeField(blank=True, null=True)),
('state', models.CharField(choices=[('C', 'Created'), ('S', 'Scheduled'), ('P', 'In progress'), ('FE', 'Finished with errors'), ('F', 'Finished')], default='C', max_length=2, verbose_name='State')),
@@ -949,7 +949,7 @@ class Migration(migrations.Migration):
('model', models.CharField(max_length=200, verbose_name='Model name')),
('model_pk', models.IntegerField(verbose_name='Associated primary key')),
('values', django.contrib.postgres.fields.jsonb.JSONField(blank=True, default={})),
- ('updated', models.DateTimeField(default=datetime.datetime.now)),
+ ('updated', models.DateTimeField(default=django.utils.timezone.now)),
('update_requested', models.DateTimeField(blank=True, null=True)),
],
options={