Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions explorer/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,9 @@ def post(self, request):
return self.render_with_sql(request, query, run_query=run_query, error=error)

def render(self, request):
return self.render_template('explorer/play.html', request , {'title': 'Playground'})
return self.render_template(
"explorer/play.html", {"title": "Playground", "request": request}
)

def render_with_sql(self, request, query, run_query=True, error=None):
return self.render_template('explorer/play.html',
Expand Down Expand Up @@ -426,4 +428,4 @@ def query_viewmodel(request, query, title=None, form=None, message=None, run_que
'replication_lag': replication_lag,
}
)
return ret
return ret.flatten()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def read(fname):

setup(
name = "django-sql-explorer-squad",
version = __version__,
version = 0.9.25,
author = "Chris Clark",
author_email = "[email protected]",
description = ("A pluggable app that allows users (admins) to execute SQL,"
Expand Down