Opened 11 years ago

Closed 11 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: UI/UX:

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 Changed 11 years ago by Adrian Holovaty

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