I am wondering why in the serializer's *to_representation* method, in this line:
*iterable = data.all() if isinstance(data, models.Manager) else data* *Manager* base class is checked, but not *BaseManager*? I am asking because I have something like this: class MyQuerySet(QuerySet): .... class MyManager(BaseManager.from_queryset(MyQuerySet): ... but then I can't serialize the list of elements because *MyManager* is not an instance of *Manager. *I could do *MyManager(Manager.from_queryset(MyQuerySet)* but is it a good idea? - I rather think this should be changed in django code -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/23cd47cf-1d52-4a7d-abcd-5c15c36bda82n%40googlegroups.com.

