What's the difference between blank=True and null=True in Django model fields?
I'm learning Django and trying to understand the difference between blank=True and null=True when defining model fields.
I created a model with both null=True and blank=True, and then tried submitting a form with the field left empty. I expected it to save NULL in the database and not throw a validation error. It worked, but I'm not sure why both options are needed, that's what I'm trying to understand clearly.