mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Cleaned up view constructors to accept just a datasette instance
This commit is contained in:
parent
d08faa8987
commit
71b46fd9f5
4 changed files with 5 additions and 14 deletions
|
|
@ -12,9 +12,6 @@ class IndexView(RenderMixin):
|
|||
|
||||
def __init__(self, datasette):
|
||||
self.ds = datasette
|
||||
self.files = datasette.files
|
||||
self.jinja_env = datasette.jinja_env
|
||||
self.executor = datasette.executor
|
||||
|
||||
async def get(self, request, as_format):
|
||||
databases = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue