Raise exception for auto filters if Meta.model not provided
Closed this issue · 1 comments
rpkilby commented
If a user does not provide a Meta.model
, auto filters are simply skipped over. If a user has declared auto/related filters, this should raise a TypeError
or similar instead.
django-rest-framework-filters/rest_framework_filters/filterset.py
Lines 36 to 38 in f3e092c