I did this, but am not sure what I'm looking for. This appears...
function:
select
and
last_query:
db.auth_user.id>0
for example, and lots of other settings, etc. But I don't see anything that
looks like an actual SQL query.
So, working with one of my colleagues, we added tracing to dal.py and got
this SQL out...
('SELECT count(*) FROM auth_user WHERE (auth_user.id > 0', [])
We dug further into expand, thinking that was where the parenthesis was
being omitted, but got lost in the layers.
Hope this helps!