code: def formfield(self, **kwargs):
          
  
          defaults = dict(
              form_class=LocalizedFieldForm,
              required=False if self.blank else self.required
          )
          defaults.update(kwargs)
          return super().formfield(**defaults)
docs: Gets the form field associated with this field.