Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 2.46 KB

CHANGES.rst

File metadata and controls

58 lines (37 loc) · 2.46 KB

# Changelog

This changelog is used to track all major changes to django-tenants.

## v2.2.3 (15 April 2019)

Fixes

  • Fixed an issue in setup.py to allow different color of tenant apps in the admin area. Should now work with PyPi.

## v2.2.2 (15 April 2019)

Fixes

  • Fixed an issue in setup.py to allow different color of tenant apps in the admin area. Take 2[#262]

## v2.2.1 (15 April 2019)

Fixes

  • Fixed an issue with the different color of tenant apps in the admin area. [#261]

## v2.2.0 (14 April 2019)

Fixes

  • TenantFileSystemStorage now works [#249]

Enhancements

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

## v2.1.0 (31 Dec 2018)

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](django-tenants#199).
  • Update template loaders and static file storage for Django > 2.0. Fixes: [#197](django-tenants#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](django-tenants#174).
  • Add support for creating tenants that share field names with domains. Fixes: [#167](django-tenants#167).
  • Use get_tenant instead of get_domain in DefaultTenantMiddleware to lookup tenant. Fixes: [#154](django-tenants#154).
  • Fix TENANT_LIMIT_SET_CALLS implementation to not rely on the cursor pointer changes. See: [#157](django-tenants#157).