'Constructor for BaseObjectPermissionsForm.
:param obj: Any instance which form would use to manage object
permissions"'

def __init__(self, obj, *args, **kwargs):

    self.obj = obj
    super(BaseObjectPermissionsForm, self).__init__(*args, **kwargs)
    field_name = self.get_obj_perms_field_name()
    self.fields[field_name] = self.get_obj_perms_field()
