1👍
Just for others to know…The problem was with SQLite. Turns out that when user has not set the field to be not null Django must use a NullBooleanField instead of a plain BooleanField. Migrated from BooleanField to NullBooleanField (to agree with database) and then migrated back to BooleanField to change db’s schema. I want everything to be done from the orm and django that’s why I went the long way(that is using migrations rather than just altering the field using sql from sqlite command line)
Thank you all…
Source:stackexchange.com