Serializing FilterSet #1561
-
Hello, how can I serialize the Filterset in order to send it back to my angular Frontend? views.py: serializers.py: class MaterialienSerializer(serializers.ModelSerializer): filter.py: In the moment its not working because "TypeError: 'MaterialFilter' object is not iterable". I'd be very thankfull for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The filter set is equivalent to the applied filters, which is just the GET QueryDict standardly. |
Beta Was this translation helpful? Give feedback.
The filter set is equivalent to the applied filters, which is just the GET QueryDict standardly.