mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fixed dumb bug
This commit is contained in:
parent
5d1b424cfc
commit
6d672fe34c
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class BaseView(AsgiView):
|
|||
"database_color": self.database_color,
|
||||
},
|
||||
}
|
||||
if request and request.args.get("_context") and self.config("template_debug"):
|
||||
if request and request.args.get("_context") and self.ds.config("template_debug"):
|
||||
return Response.html(
|
||||
"<pre>{}</pre>".format(
|
||||
escape(json.dumps(template_context, default=repr, indent=4))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue