|
@@ -21,19 +21,11 @@ from django.utils.translation import ugettext as _
|
|
|
from desktop import conf
|
|
from desktop import conf
|
|
|
from desktop.lib.i18n import smart_unicode
|
|
from desktop.lib.i18n import smart_unicode
|
|
|
from desktop.views import _ko
|
|
from desktop.views import _ko
|
|
|
|
|
+from beeswax.conf import DOWNLOAD_ROW_LIMIT, DOWNLOAD_BYTES_LIMIT
|
|
|
from notebook.conf import ENABLE_SQL_INDEXER
|
|
from notebook.conf import ENABLE_SQL_INDEXER
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-LOG = logging.getLogger(__name__)
|
|
|
|
|
-
|
|
|
|
|
-try:
|
|
|
|
|
- from beeswax.conf import DOWNLOAD_ROW_LIMIT, DOWNLOAD_BYTES_LIMIT
|
|
|
|
|
-except ImportError, e:
|
|
|
|
|
- LOG.warn("Hive app is not enabled")
|
|
|
|
|
- DOWNLOAD_ROW_LIMIT = None
|
|
|
|
|
- DOWNLOAD_BYTES_LIMIT = None
|
|
|
|
|
%>
|
|
%>
|
|
|
|
|
|
|
|
|
|
+
|
|
|
<%def name="addSnippetMenu()">
|
|
<%def name="addSnippetMenu()">
|
|
|
<script type="text/html" id="add-snippet-menu-template">
|
|
<script type="text/html" id="add-snippet-menu-template">
|
|
|
<div class="add-snippet-button" style="position:relative; width:65px; text-align: center;">
|
|
<div class="add-snippet-button" style="position:relative; width:65px; text-align: center;">
|