Skip to content

Instantly share code, notes, and snippets.

@brylor
Created July 31, 2014 15:02
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 brylor/c4f96aaa02d9a2da4902 to your computer and use it in GitHub Desktop.
Save brylor/c4f96aaa02d9a2da4902 to your computer and use it in GitHub Desktop.
__author__ = 'hypnosb'
import os
from base import *
from testing import *
#ENVIRONMENT = os.getenv("DJANGO_ENVIRONMENT")
ENVIRONMENT='development'
if ENVIRONMENT == "production":
from production import *
elif ENVIRONMENT == "staging":
from testing import *
elif ENVIRONMENT == "development":
from development import *
try:
from local import *
except ImportError:
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment