from __future__ import print_function

# Standard Library
import sys

if "test" in sys.argv:
    print("\033[1;91mNo django tests.\033[0m")
    print("Try: \033[1;33mpy.test\033[0m")
    sys.exit(0)

from .common import *  # noqa

try:
    from .dev import *  # noqa
    from .prod import *  # noqa
except ImportError:
    pass

from __future__ import print_function

# Standard Library
import sys

if "test" in sys.argv:
    print("\033[1;91mNo django tests.\033[0m")
    print("Try: \033[1;33mpy.test\033[0m")
    sys.exit(0)

from .common import *  # noqa

try:
    from .dev import *  # noqa
except ImportError:
    pass

try:
    from .prod import *  # noqa
except ImportError:
    pass

Make sure prod.py is read in settings
Make sure prod.py is read in settings

  from __future__ import print_function
  
  # Standard Library
  import sys
  
  if "test" in sys.argv:
      print("\033[1;91mNo django tests.\033[0m")
      print("Try: \033[1;33mpy.test\033[0m")
      sys.exit(0)
  
  from .common import *  # noqa
  
  try:
      from .dev import *  # noqa
+ except ImportError:
+     pass
+ 
+ try:
      from .prod import *  # noqa
  except ImportError:
      pass
  
Make sure prod.py is read in settings
## Code Before:
from __future__ import print_function

# Standard Library
import sys

if "test" in sys.argv:
    print("\033[1;91mNo django tests.\033[0m")
    print("Try: \033[1;33mpy.test\033[0m")
    sys.exit(0)

from .common import *  # noqa

try:
    from .dev import *  # noqa
    from .prod import *  # noqa
except ImportError:
    pass

## Instruction:
Make sure prod.py is read in settings
## Code After:
from __future__ import print_function

# Standard Library
import sys

if "test" in sys.argv:
    print("\033[1;91mNo django tests.\033[0m")
    print("Try: \033[1;33mpy.test\033[0m")
    sys.exit(0)

from .common import *  # noqa

try:
    from .dev import *  # noqa
except ImportError:
    pass

try:
    from .prod import *  # noqa
except ImportError:
    pass
