mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
WIP implementation of #1179
This commit is contained in:
parent
b6a7b58fa0
commit
9564ce08cc
3 changed files with 17 additions and 2 deletions
|
|
@ -24,7 +24,17 @@ async def can_render(
|
|||
|
||||
|
||||
async def render_test_all_parameters(
|
||||
datasette, columns, rows, sql, query_name, database, table, request, view_name, data
|
||||
datasette,
|
||||
columns,
|
||||
rows,
|
||||
sql,
|
||||
query_name,
|
||||
database,
|
||||
table,
|
||||
request,
|
||||
view_name,
|
||||
data,
|
||||
full_path,
|
||||
):
|
||||
headers = {}
|
||||
for custom_header in request.args.getlist("header"):
|
||||
|
|
@ -44,6 +54,7 @@ async def render_test_all_parameters(
|
|||
"request": request,
|
||||
"view_name": view_name,
|
||||
"1+1": result.first()[0],
|
||||
"full_path": full_path,
|
||||
},
|
||||
default=repr,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue