Django 1.7 - allow null and blank in the database, but do not allow null or blank in admin form
There's really no such thing as blank in the database, or null in the admin. null controls whether the database can contain NULL values (not even empty values, just NULL). blank controls whether the admin and modelforms accept empty values.
It seems to me that what you want is simply null=True, blank=False.
I have a database where I have older entries which contain null/blank values for a specific field. However, from now on, I would like to not allow null/blank values to be added to the database.
Is there a way to do this in Django 1.7, python 3.4.