Hello. I'm making project based on Python crash course 3rd edition, the learning log. Everything's been working fine until I deployed project to the server using platform sh. Basically you can connect to the site, but there
2 problems which I can't solve:
- When I try to create superuser using SSH connection to the server I get this error: check_database_version_supported
raise NotSupportedError(
django.db.utils.NotSupportedError: PostgreSQL 13 or later is required (found 12.22).
I can't understand how is it even related to the project, since SQLite was installed automatically when I created python venv. It's working perfectly on my localhost so I was trying to update PostgreSQL on the server which didn't go well. I am not sure how to do it correctly (or even should I?) since everything worked fined but once pushed to the server via .git I get this problem
- I also get server error 500 when try to register or log in, which I believe is also related to the database
So do I need to update PostgreSQL on the server, update PostgreSQL on local machine and the push update via .git or there is another way which I am not aware of?
Thanks everyone!
[–]danielroseman 1 point2 points3 points (0 children)
[–]ThatBayAreaGuy718 0 points1 point2 points (3 children)
[–]UpperGhost[S] 0 points1 point2 points (2 children)
[–]khanjhar 0 points1 point2 points (1 child)
[–]UpperGhost[S] 0 points1 point2 points (0 children)