summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdnan Umer <u.adnan@outlook.com>2019-08-03 16:22:27 +0500
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-08-08 21:40:06 +0200
commit1265a26b2fa3cbd73a2bccd91b700268bc28bc07 (patch)
tree1c7a7a7bd04bc33fcc9e9e85a774807433d5ccf2 /docs
parent2c66f340bb50ed6790d839157dff64456b497a43 (diff)
[2.2.x] Fixed #30673 -- Relaxed system check for db_table collision when database routers are installed by turning the error into a warning.
Backport of 8d3519071ec001f763b70a3a1f98ae2e980bd552 from master.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt2
-rw-r--r--docs/releases/2.2.5.txt4
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index a4267131ed..b1e48b2c1b 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -304,6 +304,8 @@ Models
* **models.W027**: ``<database>`` does not support check constraints.
* **models.E028**: ``db_table`` ``<db_table>`` is used by multiple models:
``<model list>``.
+* **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`).