Re: override_settings decoration of non-test class function

2013-11-18 Thread Simon Charette
Hi Daniel! Prior to Django 1.6 (552a90b444) override_settings couldn't be safely nested . Could you try running your example against this version and report back her

override_settings decoration of non-test class function

2013-11-17 Thread Daniel Smith
I recently ran into a bug in our test code due to override settings resetting the settings to default after the function returned. Obviously, we shouldn't be using the override_settings decorator on a random function, but I think there is still room for improvement. At minimum, I think it would