Closed TimmyTango closed 3 years ago
Released in 0.17.0.
There may be a use-case where we'd also want to use this on the queryset in get_object(), but I personally didn't need it and the object post processor can be used on the object anyway. I would be happy to implement it that way if it is desired.
That'd be great. As you have time, if you could push a commit for that it would be greatly appreciated.
I needed to be able to modify the queryset returned from GetView.get_many() in ways filter/exclude kwargs didn't allow. I took inspiration from the object post processor used in SCIMView.get_object() and implemented a queryset post processor that allows you to modify the queryset after filter/exlclude kwargs are applied, but before the queryset is ordered and returned.
There may be a use-case where we'd also want to use this on the queryset in get_object(), but I personally didn't need it and the object post processor can be used on the object anyway. I would be happy to implement it that way if it is desired.