Some forgotten Django 1.9 fixes.
[wolnelektury.git] / src / api / migrations / 0004_bookuserdata_last_changed.py
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from django.db import migrations, models
5 import datetime
6 from django.utils.timezone import utc
7
8
9 class Migration(migrations.Migration):
10
11     dependencies = [
12         ('api', '0003_bookuserdata'),
13     ]
14
15     operations = [
16         migrations.AddField(
17             model_name='bookuserdata',
18             name='last_changed',
19             field=models.DateTimeField(default=datetime.datetime(2018, 11, 28, 14, 41, 2, 673054, tzinfo=utc), auto_now=True),
20             preserve_default=False,
21         ),
22     ]