NIT: You can use django's built in `override_settings` decorator for this. It's a nice utility.