|
|
@@ -27,6 +27,7 @@ else:
|
|
|
from django.core.urlresolvers import reverse
|
|
|
from django.utils.translation import ugettext as _
|
|
|
|
|
|
+from desktop.conf import APP_BLACKLIST
|
|
|
from desktop.lib.exceptions_renderable import PopupException
|
|
|
from desktop.lib.i18n import force_unicode
|
|
|
from desktop.models import DefaultConfiguration
|
|
|
@@ -53,6 +54,7 @@ except ImportError, e:
|
|
|
|
|
|
try:
|
|
|
from impala.conf import CONFIG_WHITELIST as impala_settings
|
|
|
+ from impala import views # Force checking if Impala is enabled
|
|
|
except ImportError, e:
|
|
|
LOG.warn("Impala app is not enabled")
|
|
|
impala_settings = None
|