Fix typo in migration
This commit is contained in:
parent
43ef014cd2
commit
cb0e23a5ba
|
|
@ -9,7 +9,7 @@ logger = get_logger(__name__)
|
|||
|
||||
def add_group_page_permissions(apps, schema_editor):
|
||||
try:
|
||||
types = ["lock", "bulk_delete", "edit", "pgroup.ublish", "unlock", "add"]
|
||||
types = ["lock", "bulk_delete", "edit", "publish", "unlock", "add"]
|
||||
Group = apps.get_model("auth", "Group")
|
||||
Site = apps.get_model("wagtailcore", "Site")
|
||||
GroupPagePermission = apps.get_model("wagtailcore", "GroupPagePermission")
|
||||
|
|
|
|||
Loading…
Reference in New Issue