mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Include asyncio task information in /-/threads debug page
This commit is contained in:
parent
2039e78e58
commit
d6b6c9171f
5 changed files with 41 additions and 4 deletions
|
|
@ -27,5 +27,8 @@ class JsonDataView(BaseView):
|
|||
return await self.render(
|
||||
["show_json.html"],
|
||||
request=request,
|
||||
context={"filename": self.filename, "data": data},
|
||||
context={
|
||||
"filename": self.filename,
|
||||
"data_json": json.dumps(data, indent=4),
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue