Simon Willison’s Weblog

Subscribe

Wednesday, 24th February 2021

TIL Show the SQL schema for a PostgreSQL database — This took me longer to figure out than I care to admit.
TIL Running tests against PostgreSQL in a service container — I wanted to run some Django tests - using `pytest-django` and with Django configured to pick up the `DATABASE_URL` environment variable via [dj-database-url](https://github.com/jacobian/dj-database-url) - against a PostgreSQL server running in GitHub Actions.

Importing data from Airtable into Django, plus a search engine for all our code

I made a bunch of progress on the Django backend prototype-that-soon-won’t-be-a-prototype today.

[... 935 words]

Release github-contents 0.2 — Python class for reading and writing data to a GitHub repository
Tuesday, 23rd February 2021
Thursday, 25th February 2021