mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fix for missing view_name bug, closes #716
This commit is contained in:
parent
e0e7a0facf
commit
09253817de
3 changed files with 67 additions and 4 deletions
|
|
@ -93,7 +93,9 @@ class BaseView(AsgiView):
|
|||
)
|
||||
)
|
||||
return Response.html(
|
||||
await self.ds.render_template(template, template_context, request=request)
|
||||
await self.ds.render_template(
|
||||
template, template_context, request=request, view_name=self.name
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue