def formfield_for_dbfield(self, db_field, **kwargs):
        # Allow to use formfield_overrides using a fieldname too.
        # Avoids the major need to reroute formfield_for_dbfield() via the plugin.
        try:
            attrs = self.formfield_overrides[db_field.name]
            kwargs = dict(attrs, **kwargs)
        except __HOLE__:
            pass
        return super(BaseContentItemInline, self).formfield_for_dbfield(db_field, **kwargs)
dataset/ETHPy150Open edoburu/django-fluent-contents/fluent_contents/admin/contentitems.py/BaseContentItemInline.formfield_for_dbfield