Simon Willison
|
30e64c8d3b
|
Use f-strings in place of .format()
Code transformed like so:
pip install flynt
flynt .
black .
|
2020-11-15 15:24:22 -08:00 |
Simon Willison
|
1c063fae9d
|
Test against Python 3.8 in Travis (#623)
* Test against Python 3.8 in Travis
* Avoid current_task warnings in Python 3.8
|
2019-11-10 19:45:34 -08:00 |
Simon Willison
|
ba8db9679f
|
Port Datasette from Sanic to ASGI + Uvicorn (#518)
Datasette now uses ASGI internally, and no longer depends on Sanic.
It now uses Uvicorn as the underlying HTTP server.
This was thirteen months in the making... for full details see the issue:
https://github.com/simonw/datasette/issues/272
And for a full sequence of commits plus commentary, see the pull request:
https://github.com/simonw/datasette/pull/518
|
2019-06-23 20:13:09 -07:00 |
Simon Willison
|
a0d444837f
|
Finished implementation of ?_trace=1 debug tool
I redesigned the JSON output and added a handy "traceback" key showing
three relevant lines of the current traceback for each logged query.
Closes #435
|
2019-05-11 12:06:22 -07:00 |
Simon Willison
|
7d01ca34a1
|
Added ?_trace=1 option to trace SQL
Currently just dumps all SQL statements out on the console.
|
2019-04-20 22:34:34 -07:00 |