Queryset function can be passed as config parameter. I'd love to be able to write a test for this, but tests don't work at the moment.