Simon Willison
|
261fc8d875
|
Fix datetime.utcnow deprecation warning
|
2024-03-15 15:32:12 -07:00 |
Simon Willison
|
dd5ee8e668
|
Removed some unused imports
I found these with:
flake8 datasette | grep unus
|
2021-07-15 23:26:12 -07:00 |
Simon Willison
|
9ac6292614
|
_header_x now defaults to empty string
Prior to this a request to e.g. https://latest.datasette.io/fixtures/magic_parameters
which did not include a User-Agent header would trigger a 500 error.
|
2020-06-30 15:00:17 -07:00 |
Simon Willison
|
0991ea75cc
|
Renamed _timestamp to _now, refs #842, closes #871
|
2020-06-28 12:47:28 -07:00 |
Simon Willison
|
563f5a2d3a
|
Magic parameters for canned queries
Closes #842
Includes a new plugin hook, register_magic_parameters()
|
2020-06-27 19:58:16 -07:00 |