render_cell(value, column, table, database, datasette)

The render_cell plugin hook previously was only passed value.

It is now passed (value, column, table, database, datasette).
This commit is contained in:
Simon Willison 2018-08-28 03:03:01 -07:00
commit 2e836f72d9
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52
10 changed files with 127 additions and 25 deletions

View file

@ -36,5 +36,5 @@ def publish_subcommand(publish):
@hookspec(firstresult=True)
def render_cell(value):
def render_cell(value, column, table, database, datasette):
"Customize rendering of HTML table cell values"