def query(self, map_fun, reduce_fun=None, language='javascript',
              wrapper=None, **options):
        return TemporaryView(self.resource('_temp_view'), map_fun,
                             reduce_fun, language=language,
                             wrapper=wrapper)(**options)
The default log model depends on whether the xworkflow_log app is there.
dataset/ETHPy150Open djc/couchdb-python/couchdb/client.py/Database.query--crossover with--dataset/ETHPy150Open rbarrois/django_xworkflows/django_xworkflows/models.py/get_default_log_model