-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes reserved tenant_id dependency (#151)
* Removes reserved tenant_id dependency * Adds documentation compile tests into pipeline * Fixes documentation issues to make it compliant with latest library version * Updates documentation to describe the usage of newly introduced TenantMeta option
- Loading branch information
1 parent
9ac16f3
commit 12efe25
Showing
20 changed files
with
451 additions
and
1,385 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
### Django-Multitenant v3.1.0(March 1, 2023) ### | ||
|
||
* Adds support for Django 4.1 | ||
|
||
* Adds support for setting tenant automatically for ManyToMany related model | ||
|
||
* Fixes invalid error message problem in case of invalid field name | ||
|
||
* Adds support for getting models using apps.get_model | ||
|
||
* Removes reserved tenant_id limitation by introducing TenantMeta usage | ||
|
||
* Introduces ReadTheDocs documentation | ||
|
||
### Django-Multitenant v3.0.0(December 8, 2021) ### | ||
|
||
* Adds support for Django 4.0 | ||
|
||
* Drops support for the following EOLed Django and Python versions: | ||
1. Python 2.7 | ||
2. Django 1.11 | ||
3. Django 3.1 | ||
|
||
### Django-Multitenant v2.4.0(November 11, 2021) ### | ||
|
||
* Backwards migration for `Distribute` migration using `undistribute_table()` | ||
|
||
* Adds tests for Django 3.2 and Python 3.9 | ||
|
||
* Fixes migrations on Django 3.0+ | ||
|
||
* Fixes aggregations using `annotate` | ||
|
||
### Django-Multitenant v2.0.9 (May 18, 2019) ### | ||
|
||
* Fixes the process of running old migrations when the model has been deleted from the code. | ||
|
||
### Django-Multitenant v2.0.8 (May 18, 2019) ### | ||
|
||
* Add tests to confirm the join condition in subqueries includes tenant column. | ||
|
||
### Django-Multitenant v2.0.7 (May 18, 2019) ### | ||
|
||
* Fixes create with current tenant | ||
|
||
### Django-Multitenant v2.0.6 (May 18, 2019) ### | ||
|
||
* Fix recursive loop in warning for fields when joining without current_tenant set | ||
|
||
### Django-Multitenant v2.0.5 (May 18, 2019) ### | ||
|
||
* Adds support for custom query_set in TenantManager | ||
|
||
* Cleans the delete code to ensure deleting rows only related to current tenant | ||
|
||
### Django-Multitenant v2.0.4 (May 18, 2019) ### | ||
|
||
* Adds support for multiple tenant | ||
|
||
### Django-Multitenant v1.1.0 (January 26, 2018) ### | ||
|
||
* Add TenantForeignKey to emulate composite foreign keys between tenant related models. | ||
|
||
* Split apart library into multiple files. Importing the utility function `get_current_tenant` would cause errors due to the import statement triggering evaluation of the TenantModel class. This would cause problems if TenantModel were evaluated before the database backend was initialized. | ||
|
||
* Added a simple TenantOneToOneField which does not try to enforce a uniqueness constraint on the ID column, but preserves all the relationship semantics of using a traditional OneToOneField in Django. | ||
|
||
* Overrode Django's DatabaseSchemaEditor to produce foreign key constraints on composite foreign keys consisting of both the ID and tenant ID columns for any foreign key between TenantModels | ||
|
||
* Monkey-patched Django's DeleteQuery implementation to include tenant_id in its SQL queries. | ||
|
||
### Django-Multitenant v1.0.1 (November 7, 2017) ### | ||
|
||
* Some bug fixes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.