Skip to content

Instantly share code, notes, and snippets.

@sdornan
Created April 1, 2015 03:50
Show Gist options
  • Save sdornan/a42086904350e64d3d71 to your computer and use it in GitHub Desktop.
Save sdornan/a42086904350e64d3d71 to your computer and use it in GitHub Desktop.
Load test settings automatically
# if manage.py test was called, use test settings
if 'test' in sys.argv:
from scc.host_settings.test import *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment