We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e52bc6 + 30d0d8e commit 3d1debdCopy full SHA for 3d1debd
src/django_elasticsearch_dsl_drf/serializers.py
@@ -200,7 +200,7 @@ def get_fields(self):
200
# Match drf convention of specifying "__all__" for all available fields
201
# This is the existing behavior so we can ignore this value.
202
if __fields == "__all__":
203
- __fields = None
+ __fields = ()
204
205
for field_name, field_type in six.iteritems(document_fields):
206
orig_name = field_name[:]
0 commit comments