├── .git-blame-ignore-revs ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── dependabot.yml ├── pull_request_template.md └── workflows │ └── test.yml ├── .gitignore ├── .readthedocs.yml ├── CHANGELOG.md ├── LICENSE ├── README.rst ├── django_test_app ├── __init__.py ├── companies │ ├── __init__.py │ ├── apps.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_company_owner.py │ │ ├── 0003_alter_company_created_alter_company_modified.py │ │ ├── 0004_company_type.py │ │ └── __init__.py │ └── models.py ├── settings.py └── users │ ├── __init__.py │ ├── apps.py │ ├── migrations │ ├── 0001_initial.py │ └── __init__.py │ └── models.py ├── docs ├── Makefile ├── conf.py ├── index.rst └── pages │ ├── concepts.rst │ ├── conributing.rst │ ├── installation.rst │ ├── models.rst │ ├── permissions.rst │ ├── using.rst │ └── utilities.rst ├── manage.py ├── poetry.lock ├── pyproject.toml ├── setup.cfg ├── tenant_users ├── __init__.py ├── constants.py ├── permissions │ ├── __init__.py │ ├── backend.py │ ├── functional.py │ ├── functional.pyi │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_add_timestamps.py │ │ └── __init__.py │ ├── models.py │ └── utils.py ├── py.typed └── tenants │ ├── __init__.py │ ├── apps.py │ ├── management │ ├── __init__.py │ └── commands │ │ ├── __init__.py │ │ └── create_public_tenant.py │ ├── middleware.py │ ├── migrations │ └── __init__.py │ ├── models.py │ ├── models.pyi │ ├── tasks.py │ └── utils.py └── tests ├── __init__.py ├── conftest.py ├── fixtures ├── __init__.py ├── db.py ├── settings.py └── tenant.py └── test_tenants ├── __init__.py ├── test_backend.py ├── test_commands.py ├── test_functional.py ├── test_middleware.py ├── test_models ├── __init__.py ├── test_profilemanager.py ├── test_signals.py └── test_userprofile.py ├── test_multitypes.py ├── test_permission_models.py ├── test_schema_required.py ├── test_tasks.py ├── test_tenants_models.py └── test_utils.py /.git-blame-ignore-revs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/.git-blame-ignore-revs -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/.gitignore -------------------------------------------------------------------------------- /.readthedocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/.readthedocs.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/LICENSE -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/README.rst -------------------------------------------------------------------------------- /django_test_app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_app/companies/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_app/companies/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/django_test_app/companies/apps.py -------------------------------------------------------------------------------- /django_test_app/companies/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/django_test_app/companies/migrations/0001_initial.py -------------------------------------------------------------------------------- /django_test_app/companies/migrations/0002_company_owner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/django_test_app/companies/migrations/0002_company_owner.py -------------------------------------------------------------------------------- /django_test_app/companies/migrations/0003_alter_company_created_alter_company_modified.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/django_test_app/companies/migrations/0003_alter_company_created_alter_company_modified.py -------------------------------------------------------------------------------- /django_test_app/companies/migrations/0004_company_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/django_test_app/companies/migrations/0004_company_type.py -------------------------------------------------------------------------------- /django_test_app/companies/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_app/companies/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/django_test_app/companies/models.py -------------------------------------------------------------------------------- /django_test_app/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/django_test_app/settings.py -------------------------------------------------------------------------------- /django_test_app/users/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_app/users/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/django_test_app/users/apps.py -------------------------------------------------------------------------------- /django_test_app/users/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/django_test_app/users/migrations/0001_initial.py -------------------------------------------------------------------------------- /django_test_app/users/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_app/users/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/django_test_app/users/models.py -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/pages/concepts.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/docs/pages/concepts.rst -------------------------------------------------------------------------------- /docs/pages/conributing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/docs/pages/conributing.rst -------------------------------------------------------------------------------- /docs/pages/installation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/docs/pages/installation.rst -------------------------------------------------------------------------------- /docs/pages/models.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/docs/pages/models.rst -------------------------------------------------------------------------------- /docs/pages/permissions.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/docs/pages/permissions.rst -------------------------------------------------------------------------------- /docs/pages/using.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/docs/pages/using.rst -------------------------------------------------------------------------------- /docs/pages/utilities.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/docs/pages/utilities.rst -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/manage.py -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/setup.cfg -------------------------------------------------------------------------------- /tenant_users/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tenant_users/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/constants.py -------------------------------------------------------------------------------- /tenant_users/permissions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tenant_users/permissions/backend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/permissions/backend.py -------------------------------------------------------------------------------- /tenant_users/permissions/functional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/permissions/functional.py -------------------------------------------------------------------------------- /tenant_users/permissions/functional.pyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/permissions/functional.pyi -------------------------------------------------------------------------------- /tenant_users/permissions/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/permissions/migrations/0001_initial.py -------------------------------------------------------------------------------- /tenant_users/permissions/migrations/0002_add_timestamps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/permissions/migrations/0002_add_timestamps.py -------------------------------------------------------------------------------- /tenant_users/permissions/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tenant_users/permissions/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/permissions/models.py -------------------------------------------------------------------------------- /tenant_users/permissions/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/permissions/utils.py -------------------------------------------------------------------------------- /tenant_users/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tenant_users/tenants/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tenant_users/tenants/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/tenants/apps.py -------------------------------------------------------------------------------- /tenant_users/tenants/management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tenant_users/tenants/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tenant_users/tenants/management/commands/create_public_tenant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/tenants/management/commands/create_public_tenant.py -------------------------------------------------------------------------------- /tenant_users/tenants/middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/tenants/middleware.py -------------------------------------------------------------------------------- /tenant_users/tenants/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tenant_users/tenants/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/tenants/models.py -------------------------------------------------------------------------------- /tenant_users/tenants/models.pyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/tenants/models.pyi -------------------------------------------------------------------------------- /tenant_users/tenants/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/tenants/tasks.py -------------------------------------------------------------------------------- /tenant_users/tenants/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tenant_users/tenants/utils.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/fixtures/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/fixtures/db.py -------------------------------------------------------------------------------- /tests/fixtures/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/fixtures/settings.py -------------------------------------------------------------------------------- /tests/fixtures/tenant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/fixtures/tenant.py -------------------------------------------------------------------------------- /tests/test_tenants/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_tenants/test_backend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/test_tenants/test_backend.py -------------------------------------------------------------------------------- /tests/test_tenants/test_commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/test_tenants/test_commands.py -------------------------------------------------------------------------------- /tests/test_tenants/test_functional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/test_tenants/test_functional.py -------------------------------------------------------------------------------- /tests/test_tenants/test_middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/test_tenants/test_middleware.py -------------------------------------------------------------------------------- /tests/test_tenants/test_models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_tenants/test_models/test_profilemanager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/test_tenants/test_models/test_profilemanager.py -------------------------------------------------------------------------------- /tests/test_tenants/test_models/test_signals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/test_tenants/test_models/test_signals.py -------------------------------------------------------------------------------- /tests/test_tenants/test_models/test_userprofile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/test_tenants/test_models/test_userprofile.py -------------------------------------------------------------------------------- /tests/test_tenants/test_multitypes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/test_tenants/test_multitypes.py -------------------------------------------------------------------------------- /tests/test_tenants/test_permission_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/test_tenants/test_permission_models.py -------------------------------------------------------------------------------- /tests/test_tenants/test_schema_required.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/test_tenants/test_schema_required.py -------------------------------------------------------------------------------- /tests/test_tenants/test_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/test_tenants/test_tasks.py -------------------------------------------------------------------------------- /tests/test_tenants/test_tenants_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/test_tenants/test_tenants_models.py -------------------------------------------------------------------------------- /tests/test_tenants/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Corvia/django-tenant-users/HEAD/tests/test_tenants/test_utils.py --------------------------------------------------------------------------------