diff --git a/elasticutils/__init__.py b/elasticutils/__init__.py index a463634..31788dd 100644 --- a/elasticutils/__init__.py +++ b/elasticutils/__init__.py @@ -6,8 +6,8 @@ from pyes import ES try: from django.conf import settings -except: - import settings +except ImportError: + import es_settings as settings _local = local() diff --git a/settings.py b/es_settings.py similarity index 100% rename from settings.py rename to es_settings.py