from __future__ import absolute_import
-from .common import *
+from settings.common import *
DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = PROJECT_ROOT + '/dev.sqlite' # Or path to database file if using sqlite3.
else:
import sys
logging.basicConfig(stream=sys.stderr)
-except ImportError as exc:
+except (ImportError,), exc:
raise