Django + postgres return None though Zero
I have column :
basic_flg = models.SmallIntegerField('Basic flag', null=True, blank=True)
Values in database are Null, 0 or 1. I get one and it return None though in database is 0. Please help me ! Did i missed configuration ?