This is going to depend on the version of Django you're using. Accord to the docs for 1.7[1], this should work fine.
After playing around in the shell for a bit, I found I was getting an error complaining about arguments not being converted during string formatting. It seems the problem occurs when a `RawQuerySet` object is stringified. This line[2] converts the the params into a tuple if the `params` object is not a dictionary. For some reason, when this tuple is used in string formatting, everything breaks.
I haven't been able to figure out a solution and, frankly, I don't even know if this is the error you're getting. We really do need more solution.
If anyone else can shed some light on the issue I've raised, that would be fantastic. If not, I will submit a bug report.