1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

Fixed #20098 -- Added a check for model Meta.db_table collisions.

This commit is contained in:
Sanyam Khurana
2018-12-13 01:41:50 +05:30
committed by Tim Graham
parent e626a3f993
commit 5d25804eaf
3 changed files with 91 additions and 0 deletions

View File

@@ -302,6 +302,8 @@ Models
* **models.E026**: The model cannot have more than one field with
``primary_key=True``.
* **models.W027**: ``<database>`` does not support check constraints.
* **models.E028**: ``db_table`` ``<db_table>`` is used by multiple models:
``<model list>``.
Security
--------