diff options
| author | Adnan Umer <u.adnan@outlook.com> | 2019-08-03 16:22:27 +0500 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-08-08 21:14:06 +0200 |
| commit | 8d3519071ec001f763b70a3a1f98ae2e980bd552 (patch) | |
| tree | 86fcad65869c6541aef3d10925b62c26c257e68a /docs | |
| parent | 65e86948b80262574058a94ccaae3a9b59c3faea (diff) | |
Fixed #30673 -- Relaxed system check for db_table collision when database routers are installed by turning the error into a warning.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/checks.txt | 2 | ||||
| -rw-r--r-- | docs/releases/2.2.5.txt | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 99f4e1d316..515d75d91a 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -317,6 +317,8 @@ Models or a number. * **models.E034**: The index name ``<index>`` cannot be longer than ``<max_length>`` characters. +* **models.W035**: ``db_table`` ``<db_table>`` is used by multiple models: + ``<model list>``. Security -------- diff --git a/docs/releases/2.2.5.txt b/docs/releases/2.2.5.txt index 178588327e..718ec8d888 100644 --- a/docs/releases/2.2.5.txt +++ b/docs/releases/2.2.5.txt @@ -9,4 +9,6 @@ Django 2.2.5 fixes several bugs in 2.2.4. Bugfixes ======== -* ... +* Relaxed the system check added in Django 2.2 for models to reallow use of the + same ``db_table`` by multiple models when database routers are installed + (:ticket:`30673`). |
