Due to python's method resolution order, you need to have mixins first in
the class inheritance order. Specifically
class UnitViewSet(MultipleFieldLookupMixin, viewsets.ReadOnlyModelViewset):
...
See
https://stackoverflow.com/questions/1848474/method-resolution-order-mro-in-new-style-classes
for
more information about MROs
--
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.