Closed frnhr closed 4 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).
self.formfield_for_dbfield(db_field, request, **kwargs)
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).