From e4a5f34f71fdc2a89398128bab5d7fe1145e9d41 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Tue, 22 Sep 2015 16:53:06 -0700 Subject: [PATCH] Uncommenting try block --- TODO.md | 3 ++- panoramix/views.py | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/TODO.md b/TODO.md index 842dc2b77..1aab72b26 100644 --- a/TODO.md +++ b/TODO.md @@ -1,11 +1,12 @@ # TODO +* Add a per-datasource permission + * in/notin filters autocomplete * DRUID: Allow for post aggregations (ratios!) * compare time ranges * csv export out of table view * SQL: Find a way to manage granularity * Create ~/.panoramix/ to host DB and config, generate default config there -* Add a per-datasource permission * Reintroduce query and stopwatch * Sort tooltip * Add a "Test Connection" button in Add Connection menu diff --git a/panoramix/views.py b/panoramix/views.py index a295a6323..f021d9838 100644 --- a/panoramix/views.py +++ b/panoramix/views.py @@ -288,9 +288,8 @@ class Panoramix(BaseView): status=status, mimetype="application/json") else: - #try: - resp = self.render_template("panoramix/viz.html", viz=obj) - ''' + try: + resp = self.render_template("panoramix/viz.html", viz=obj) except Exception as e: if config.DEBUG: raise(e) @@ -298,7 +297,6 @@ class Panoramix(BaseView): str(e), status=500, mimetype="application/json") - ''' return resp @has_access