mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Link to Datasette API docs from /-/api, refs #1871
This commit is contained in:
parent
042881a522
commit
000eeb4464
3 changed files with 8 additions and 9 deletions
|
|
@ -1100,6 +1100,7 @@ class Datasette:
|
|||
),
|
||||
"base_url": self.setting("base_url"),
|
||||
"csrftoken": request.scope["csrftoken"] if request else lambda: "",
|
||||
"datasette_version": __version__,
|
||||
},
|
||||
**extra_template_vars,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue