# -*- coding: utf-8 -*-

from __future__ import absolute_import
import os

try:
    print "Trying import local.py settings..."
    from .local import *
except ImportError:
    print "Trying import development.py settings..."
    from .development import *

# -*- coding: utf-8 -*-
from __future__ import (
    absolute_import,
    print_function
)
import os, sys

try:
    print("Trying import local.py settings...", file=sys.stderr)
    from .local import *
except ImportError:
    print("Trying import development.py settings...", file=sys.stderr)
    from .development import *

Send more print message to sys.stderr