def force_debug_cursor():
for conn in connections.all():
conn._cavalry_old_force_debug_cursor = conn.force_debug_cursor
conn.force_debug_cursor = True
yield
for conn in connections.all():
conn.force_debug_cursor = conn._cavalry_old_force_debug_cursor
评论列表
文章目录