diff --git a/mayan/apps/acls/models.py b/mayan/apps/acls/models.py index 9e9e0e2531..4c972ef285 100644 --- a/mayan/apps/acls/models.py +++ b/mayan/apps/acls/models.py @@ -35,8 +35,7 @@ class AccessControlList(models.Model): ) object_id = models.PositiveIntegerField() content_object = GenericForeignKey( - ct_field='content_type', - fk_field='object_id', + ct_field='content_type', fk_field='object_id', ) # TODO: limit choices to the permissions valid for the content_object permissions = models.ManyToManyField(