Hm. I think we should consider moving this patching process out of the test folder and all the way up to `opentreemap/util`. I get broken pipes during development when using i/pdb and would love to at some point wrote some code to patch the runserver in the same way (but _never_ the production server) using a hook in local_settings.