Can't change TIME_ZONE after initial transaction in PostgreSQL
The changeset from #3459 has SET TIME ZONE only executed for new connections, which breaks any code which changes settings.TIME_ZONE, such as live settings applications or per-request middleware implementations. The connection should allow other code to tell it "I'm changing things, re-do the settings statements on the next transaction.
Change History (7)
Database layer (models, ORM)