try: from local_settings import * except ImportError, exp: pass