I have a form like this:
class My_Form(ModelForm): class Meta: model = My_Class fields = (\'first_name\', \'last_name\' , \'address\')
field = models.CharField(max_length=9, default='', blank=True)
Just add blank=True in your model field and it won't be required when you're using modelforms.
blank=True
source: https://docs.djangoproject.com/en/3.1/topics/forms/modelforms/#field-types