Use singleton PostgreSQL connection with autocommit.
Accept ?force GET parameter instead of ?force=True.
Use psycopg2.extras.RealDictConnection.