Hands-on with the new sampling profiler in Python 3.15 ...
I'm pretty sure this is possible, but I haven't done it so someone with more Django experience should probably speak up.