Hi! I put your code to good use in my project and have two minor
suggestions:
Make the signature of
def get_related_serializer(self, key)
like this:
def get_related_serializer(self, key, obj):
because the related serializer could also depend on obj (does for me).
Secondly: the naming of s
You can take this idea further by not providing the name but the
resolver object. This gives you much more flexibility. It might be
helpful to have it in the result of the reverse dict.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t