One of my django application unit test fails with
DatabaseError: ORA-00942: table or view does not exist
I would like to see actual SQL query that caused this error. Do you know how to achieve that?
The best solution I found so far is debugsqlshell custom django management command provided by django-debugtoolbar.