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 Fields 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).

Change History (1)

comment:1 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

(In [1966]) Fixed #1218 -- Improved model validator to complain for non True/False values for 'db_index' parameter

Note: See TracTickets for help on using tickets.
Back to Top