You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[...]
class CompanyFilter(filters.FilterSet):
File "/Users/remi/Programmation/IgnitionProgram/igniback/venv3/lib/python3.8/site-packages/rest_framework_filters/filterset.py", line 38, in __new__
cls.expand_auto_filters(new_class)
File "/Users/remi/Programmation/IgnitionProgram/igniback/venv3/lib/python3.8/site-packages/rest_framework_filters/filterset.py", line 66, in expand_auto_filters
for gen_name, gen_f in new_class.get_filters().items():
File "/Users/remi/Programmation/IgnitionProgram/igniback/venv3/lib/python3.8/site-packages/django_filters/filterset.py", line 358, in get_filters
raise TypeError(
TypeError: 'Meta.fields' must not contain non-model field names: contact
Hello,
I get the following error :
Although
contact
is not in thefields
:Does it comes from
djangorestframework-filters
ordjango-filter
?The text was updated successfully, but these errors were encountered: