Django's documentation on objects.raw() says the following about using named parameters:
Dictionary params are not supported with the SQLite backend; with this backend, you must pass parameters as a list.
I use SQLite when running unit tests in our codebase because it's ridiculously fast in comparison to our real database backend. But since it doesn't seem to support named parameters, I cannot write tests for a certain piece of functionality that relies on them.
Is there a clean generic way to work around this limitation? As in, without resorting to hacks that could expose code to SQL injection?