mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 23:55:24 +00:00
30 lines
775 B
Python
30 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,
|
|
),
|
|
]
|