Sample to use custom auth backend / DRF Permissions class from django-organizations-permissions with django-organizations.
Before running:
python3 -m pip install -r requirements.txt rm db.sqlite3 python3 manage.py makemigrations org_permissions python3 manage.py migrate python3 manage.py create_organizations_permissions