mirror of https://github.com/zulip/zulip.git
8 lines
181 B
Python
8 lines
181 B
Python
|
from django.db import connections
|
||
|
|
||
|
|
||
|
def reset_queries() -> None:
|
||
|
for conn in connections.all():
|
||
|
if conn.connection is not None:
|
||
|
conn.connection.queries = []
|