formfield_for_dbfield should include request positional argument, otherwise it can fail with error below when this library is used with some other that also overrides formfield_for_dbfield (django-modeltranslation is one example)
TypeError: formfield_for_dbfield() takes 2 positional arguments but 3 were given
formfield_for_dbfield
should includerequest
positional argument, otherwise it can fail with error below when this library is used with some other that also overridesformfield_for_dbfield
(django-modeltranslation is one example)ref:
https://code.djangoproject.com/ticket/25985 https://github.com/django/django/commit/dbb0df2a0ec5bee80bee336fc81408efb30b7e47