QueryDict is immutable. Create a copy before trying to change it.

This is a fix for issue #5
Test included