Improve model validator to complain for non True/False values in 'db_index'
|Reported by:||adrian||Owned by:||adrian|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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).