mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Replace dict() with {...}
This commit is contained in:
parent
109c2e26b0
commit
e81c7abb40
1 changed files with 5 additions and 5 deletions
|
|
@ -112,9 +112,9 @@ class IndexView(BaseView):
|
||||||
return await self.render(
|
return await self.render(
|
||||||
["index.html"],
|
["index.html"],
|
||||||
request=request,
|
request=request,
|
||||||
context=dict(
|
context={
|
||||||
databases=databases,
|
"databases": databases,
|
||||||
metadata=self.ds.metadata(),
|
"metadata": self.ds.metadata(),
|
||||||
datasette_version=__version__,
|
"datasette_version": __version__,
|
||||||
),
|
},
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue