mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-01 12:04:15 +00:00
31 lines
775 B
Python
31 lines
775 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import models, migrations
|
||
|
import datetime
|
||
|
from django.conf import settings
|
||
|
from django.utils.timezone import utc
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||
|
('logs', '0001_initial'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AddField(
|
||
|
model_name='logs',
|
||
|
name='user',
|
||
|
field=models.ForeignKey(to=settings.AUTH_USER_MODEL),
|
||
|
preserve_default=False,
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='logs',
|
||
|
name='date',
|
||
|
field=models.DateTimeField(auto_now=True),
|
||
|
preserve_default=True,
|
||
|
),
|
||
|
]
|