New ds.metadata() method

This commit is contained in:
Simon Willison 2018-08-13 07:56:50 -07:00
commit 1905c03364
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52
5 changed files with 57 additions and 23 deletions

View file

@ -49,7 +49,7 @@ class IndexView(RenderMixin):
return self.render(
["index.html"],
databases=databases,
metadata=self.ds.metadata,
metadata=self.ds.metadata(),
datasette_version=__version__,
extra_css_urls=self.ds.extra_css_urls(),
extra_js_urls=self.ds.extra_js_urls(),