Changes between Version 1 and Version 2 of Ticket #31019


Ignore:
Timestamp:
Nov 21, 2019, 7:24:18 AM (4 years ago)
Author:
Shipeng Feng
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31019 – Description

    v1 v2  
    1616Here is the related source code: https://github.com/django/django/blob/f97a6123c07de5099fdf8b7d00ef7d20ed354e07/django/db/models/fields/__init__.py#L340
    1717
    18 We only run checks for the first db, and the behavior of the first is undetermined (the first entry of a dictionary),
     18We only run checks for the first db, and the behavior of the first db is undetermined (the first entry of a dictionary),
    1919if the first db is `default`, then we would only run dummy backend checks, mysql checks are bypassed.
Back to Top