False then Django and the database disagree on whether empty values are allowed.
null attribute specifies that the database will accept it if no value is passed to the field. The
blank attribute specifies Django should not check if the value is present when
Model.clean is called.
Model.save is called via the shell without first calling
Model.clean: the bad data will be saved and there may be unwanted side effects, such as:
These unwanted side effects can cause more serious problems that are hard to debug long after the original error occurred.
class Feedback(models.Model): created = models.DateField(null=True) updated = models.DateField(null=True, blank=False)
class Feedback(models.Model): created = models.DateField(null=True, blank=True) updated = models.DateField(null=True, blank=True)