Skip to content

Instantly share code, notes, and snippets.

@zenweasel
Created January 20, 2014 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zenweasel/8520045 to your computer and use it in GitHub Desktop.
Save zenweasel/8520045 to your computer and use it in GitHub Desktop.
Calling context manager that changes settings while running tests
with self.settings(LOGIN_URL='/other/login/'):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment