mirror of
https://github.com/django/django.git
synced 2025-12-15 21:45:20 +00:00
Fixed #20098 -- Added a check for model Meta.db_table collisions.
This commit is contained in:
parent
e626a3f993
commit
5d25804eaf
3 changed files with 91 additions and 0 deletions
|
|
@ -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
|
||||
--------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue