Ok, I got this to work. What I did:
-
fly pg connectand run all theCREATE EXTENSIONcommands I hadn’t run in the PostGIS install instructions - The initial
CREATE EXTENSIONstatement crashed the DB due to OOM, so I ranfly pg restartand tried step 1 again, which worked -
manage.py migratefrom my app, this still crashed with a bad driver error -
fly pg restartagain (just in case) -
manage.py migratethen worked
I’m not 100% why the restarts were necessary, so I would still welcome any wisdom – but it’s working.