[pig] Set is_hue_4 flag
@@ -22,6 +22,7 @@ from django.core.urlresolvers import reverse
from django.utils.translation import ugettext as _
from django.views.decorators.csrf import ensure_csrf_cookie
+from desktop.conf import IS_HUE_4
from desktop.lib.django_util import JsonResponse, render
from desktop.lib.exceptions_renderable import PopupException
from desktop.lib.rest.http_client import RestException
@@ -48,6 +49,7 @@ def app(request):
return render('app.mako', request, {
'autocomplete_base_url': autocomplete_base_url,
+ 'is_hue_4': IS_HUE_4.get()
})
