Skip to content

Commit

Permalink
move South migration uniqueness_constraint_on_group_page_permission t…
Browse files Browse the repository at this point in the history
…o the right place; add equivalent Django 1.7 migration
  • Loading branch information
gasman committed Sep 29, 2014
1 parent 2eb17b7 commit 7a2394c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

dependencies = [
('wagtailcore', '0002_initial_data'),
]

operations = [
migrations.AlterField(
model_name='grouppagepermission',
name='permission_type',
field=models.CharField(max_length=20, choices=[(b'add', b'Add/edit pages you own'), (b'edit', b'Add/edit any page'), (b'publish', b'Publish any page')]),
),
migrations.AlterUniqueTogether(
name='grouppagepermission',
unique_together=set([('group', 'page', 'permission_type')]),
),
]

0 comments on commit 7a2394c

Please sign in to comment.