v4: Fix AttributeError if ModelForm._meta.widgets undefined