Opened 19 years ago
Closed 19 years ago
#1218 closed enhancement (fixed)
Improve model validator to complain for non True/False values in 'db_index'
Reported by: | Adrian Holovaty | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Core (Other) | Version: | |
Severity: | trivial | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The model validator should raise an error for Field
s with db_index
set to something other than True
or False
. I came across a colleague's code in which he used "True"
and "False"
(as strings).
Note:
See TracTickets
for help on using tickets.
(In [1966]) Fixed #1218 -- Improved model validator to complain for non True/False values for 'db_index' parameter