Skip to content

Commit

Permalink
Removed unnecessary enumerate template helper
Browse files Browse the repository at this point in the history
I made this obsolete in d1756d7

Refs #189
  • Loading branch information
simonw committed Apr 9, 2018
1 parent d1756d7 commit 78c8d07
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions datasette/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,6 @@ async def extra_template():
'display_rows': display_rows,
'path_with_added_args': path_with_added_args,
'request': request,
'enumerate': enumerate,
'sort': sort,
'sort_desc': sort_desc,
'disable_sort': is_view,
Expand Down Expand Up @@ -918,7 +917,6 @@ async def template_data():
'_rows_and_columns-row-{}-{}.html'.format(to_css_class(name), to_css_class(table)),
'_rows_and_columns.html',
],
'enumerate': enumerate,
'metadata': self.ds.metadata.get(
'databases', {}
).get(name, {}).get('tables', {}).get(table, {}),
Expand Down

0 comments on commit 78c8d07

Please sign in to comment.