mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-22 23:54:46 +00:00
add Django 1.7 migration for #718
This commit is contained in:
parent
5cb428608b
commit
84c9810e25
1 changed files with 21 additions and 0 deletions
|
|
@ -0,0 +1,21 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
import django.db.models.deletion
|
||||
from django.conf import settings
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('wagtailcore', '0009_remove_auto_now_add_from_pagerevision_created_at'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='page',
|
||||
name='owner',
|
||||
field=models.ForeignKey(related_name=b'owned_pages', on_delete=django.db.models.deletion.SET_NULL, blank=True, editable=False, to=settings.AUTH_USER_MODEL, null=True),
|
||||
),
|
||||
]
|
||||
Loading…
Reference in a new issue