Django-tenants

Latest version: v3.6.1

Safety actively analyzes 629503 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

2.2.2

======================

**Fixes**

- Fixed an issue in setup.py to allow different color of tenant apps in the admin area. Take 2. [`262 <https://github.com/tomturner/django-tenants/issues/262>`_]

2.2.1

======================

**Fixes**

- Fixed an issue with the different color of tenant apps in the admin area. [`261 <https://github.com/tomturner/django-tenants/issues/261>`_]

2.2.0

======================

**Fixes**

- TenantFileSystemStorage now works [`249 <https://github.com/tomturner/django-tenants/issues/249>`_]

**Enhancements**

- support django>=2.2 [`238 <https://github.com/tomturner/django-tenants/issues/238>`_]
- TenantAdminMixin is available in order to register the tenant model. [`223 <https://github.com/tomturner/django-tenants/issues/223>`_]
- Admin site: highlight with a different color the tenant apps. [`227 <https://github.com/tomturner/django-tenants/issues/227>`_]
- Admin site: disable the tenant apps when in the public schema. [`227 <https://github.com/tomturner/django-tenants/issues/227>`_]
- Custom auth backend compatibility for TenantClient. [`228 <https://github.com/tomturner/django-tenants/issues/228>`_]
- Switch to psycopg2 dependency rather than psycopg2-binary [`239 <https://github.com/tomturner/django-tenants/issues/239>`_]

2.1.0

====================

**Enhancements**

- Added `TENANT_CREATION_FAKES_MIGRATIONS` configuration parameter that can be used to copy schemas from an existing "template" schema instead of running migrations.
- `schema_context` now operates as a decorator too. Fixes: `199 <https://github.com/tomturner/django-tenants/issues/199>`_.
- Update template loaders and static file storage for Django > 2.0. Fixes: `197 <https://github.com/tomturner/django-tenants/issues/197>`_.
- Added `pre_drop` to `TenantMixin` that can be used to backup the tenant schema before dropping.
- Allow using non-default databases for schemas using the new `TENANT_DB_ALIAS` config parameter.
- Add `TENANT_BASE_SCHEMA` configuration parameter for creating tenant schema from a pre-specified "default" base tenant schema.
- Add support for tenant models that are not serializable.
- Various updates to documentation.
- Update tests for Django 2 and Python 3.

**Fixes**

- Fix setup.py to reference new `psycopg2-binary` dependency. Fixes `174 <https://github.com/tomturner/django-tenants/issues/174>`_.
- Add support for creating tenants that share field names with domains. Fixes: `167 <https://github.com/tomturner/django-tenants/issues/167>`_.
- Use `get_tenant` instead of `get_domain` in `DefaultTenantMiddleware` to lookup tenant. Fixes: `154 <https://github.com/tomturner/django-tenants/issues/154>`_.
- Fix `TENANT_LIMIT_SET_CALLS` implementation to not rely on the cursor pointer changes. See: `157 <https://github.com/tomturner/django-tenants/pull/157>`_.


Pypi should now correctly contain all files
----

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.