theatlantic / django-nested-admin

Django admin classes that allow for nested inlines
http://django-nested-admin.readthedocs.org/
Other
690 stars 97 forks source link

Update formfield_for_dbfield signature #248

Open frnhr opened 2 months ago

frnhr commented 2 months ago

The signature of the overwriting method differs slightly from the overwritten method: https://github.com/django/django/blob/main/django/contrib/admin/options.py#L160

This causes an issue when the method is called with self.formfield_for_dbfield(db_field, request, **kwargs) (unexpected position argument).