theatlantic / django-nested-admin

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

Update formfield_for_dbfield signature #248

Closed frnhr closed 4 months ago

frnhr commented 7 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).