Signal/Method for every executed sql statement : <p>According to this 12 years old issue, django does not support a signal for every executed sql statement: <a href="https://code.djangoproject.com/ticket/5415" rel="noreferrer">https://code.djangoproject.com/ticket/5415</a></p>

<p>I need this in a production environment where debug=False.</p>

<p>This means overwriting connection.queries does not work.</p>

<p>Is there a way to run some custom code after each sql statement (even if debug=False)?</p>
