Source

django-permissions / permissions / settings.py

Full commit
from django.conf import settings

ROLES_ENABLED=getattr(settings,'PERMISSIONS_ROLES_ENABLED',True)

OBJECTS_PERM_CHECK=getattr(settings,'PERMISSIONS_OBJECTS_PERM_CHECK',True)

OBJECTS_PERM_CHECK_OVERRIDE=getattr(settings,'PERMISSIONS_OBJECTS_PERM_CHECK_OVERRIDE',True)

OBJECTS_PERM_STRING=getattr(settings,'PERMISSIONS_OBJECTS_PERM_STRING','%s')

OBJECTS_GENERIC_CHECK=getattr(settings,'PERMISSIONS_OBJECTS_GENERIC_CHECK',True)

OBJECTS_GENERIC_STRING=getattr(settings,'PERMISSIONS_OBJECTS_GENERIC_STRING','has_permission')

RETURN_403=getattr(settings,'PERMISSIONS_RETURN_403','True')