2016-11-05 12:37:30 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2019-10-05 22:32:54 +00:00
|
|
|
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(
|
2019-10-05 22:32:54 +00:00
|
|
|
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
|
|
|
),
|
|
|
|
]
|