Sith/core/migrations/0005_auto_20161105_1035.py

34 lines
964 B
Python
Raw Normal View History

2016-11-05 12:37:30 +00:00
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import django.db.models.deletion
2024-06-24 11:07:36 +00:00
from django.conf import settings
from django.db import migrations, models
2016-11-05 12:37:30 +00:00
class Migration(migrations.Migration):
2018-10-04 19:29:19 +00:00
dependencies = [("core", "0004_user_godfathers")]
2016-11-05 12:37:30 +00:00
operations = [
migrations.AddField(
2018-10-04 19:29:19 +00:00
model_name="page",
name="lock_timeout",
field=models.DateTimeField(
verbose_name="lock_timeout", null=True, blank=True, default=None
),
2016-11-05 12:37:30 +00:00
),
migrations.AddField(
2018-10-04 19:29:19 +00:00
model_name="page",
name="lock_user",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
2018-10-04 19:29:19 +00:00
verbose_name="lock user",
default=None,
blank=True,
to=settings.AUTH_USER_MODEL,
null=True,
related_name="locked_pages",
),
2016-11-05 12:37:30 +00:00
),
]