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
{{ message }}
This repository was archived by the owner on Jan 29, 2025. It is now read-only.
Make a type=preferenceComparison filter object where instead of pref=foo.bar, you provide preference=foo.bar.
KeyError: 'pref'
(15 additional frame(s) were not displayed)
...
File "rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
File "rest_framework/mixins.py", line 56, in retrieve
return Response(serializer.data)
File "rest_framework/serializers.py", line 548, in data
ret = super().data
File "rest_framework/serializers.py", line 246, in data
self._data = self.to_representation(self.instance)
KeyError: 'pref'