Opened 9 years ago

Closed 9 years ago

#1218 closed enhancement (fixed)

Improve model validator to complain for non True/False values in 'db_index'

Reported by: adrian Owned by: adrian
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 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(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