I have the following model:
class Site(models.Model):
"""
Model for a site entry
@author: Leonardo Pessoa
@since: 05/09/2016
"""
from decimal import Decimal
consolidated_financials = models.BooleanField(blank=True)
type = models.ForeignKey(Type)
tier1_business = models.ForeignKey(Business, limit_choices_to = {'tier': 1}, related_name='%(class)s_tier1')
Note that the consolidated_financials
field has now the blank=True
statement.
This was newly included. When I ran makemigrations, it didn't get the change, but when I add to finance_manager_sso
it worked normally.
Is there a restriction with the Boolean field specifically?
Thanks