in models.py, I set ComissionRate field IntegerField blank=True, but in actual, this ComissionRate field also must be not null
class System(models.Model):
BulletinBoardContent = models.CharField(max_length=64,blank=True)
BulletinBoardDescription = models.TextField(blank=True)
BulletinBoardDate = models.DateField(blank=True)
ComissionRate = models.FloatField(blank=True)
when I insert a new system item, if I don't fill ComissionRate, there will have an error
as follows:
Exception Type: IntegrityError
Exception Value: system_system.ComissionRate may not be NULL
PS:DateField has the same situations.