👻

Django+Docker-ComposeでPostgresql がコンテナ起動に失敗する

2021/09/12に公開

今回は、webアプリ作成の過程で、Postgresの導入の際にエラーが出た内容を書きます。
自分でわかるようにまとめるだけなので、ご了承ください。

AssertionError: database connection isn't set to UTC

postgresのバージョンが2.9以上だとこのエラーが出るみたい

→postgresのバージョンを2.8.6に変更する

参考:https://stackoverflow.com/questions/68024060/assertionerror-database-connection-isnt-set-to-utc

Discussion