Django 2.2 and PostgreSQL 11
See original GitHub issueFirst thanks for this project!
It’d be great to see if the warnings/errors scheme on unsafe operation is something that could be integrated to Django’s core.
I just wanted to give you a small heads up that the DatabaseSchemaEditor
schema editor will change a bit in Django 2.2 to allow for check and unique constraint additions through the Meta.constraints
API. Most of the details are in https://github.com/django/django/pull/10406
Also PostgreSQL 11 allows non locking NOT NULL
column addition so it’d be great to adjust the documentation in consequence and use pg_version
detection to avoid raising an exception/warning when not necessary.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
End of life dates for supported database versions
For example, Django 2.1 supports Python 3.5 and later, so the minimum supported SQLite version is 3.8.11. Search the Python Changelog for "SQLite"...
Read more >Does Django 2.2 LTS supports Postgresql 11 ? - Google Groups
The release-notes say Postgresql 9.4 or higher is supported, but Postgresql 11 had been released only 6 months before Django 2.2, ...
Read more >How to use PostgreSQL with Django - EDB
This article covers how to use PostgreSQL together with the Python web application framework Django. After walking through the Django ...
Read more >Databases — Django 4.1.4 documentation
Django supports PostgreSQL 11 and higher. psycopg2 2.8.4 or higher is required, though the latest release is recommended. PostgreSQL connection ...
Read more >How to use Django 2.2 with legacy PostgreSQL 8.4 database?
I think what you can do is to: dump your information in the database to a separate file; uninstall and upgrade your postgres...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for all your hardwork, @tbicr!
Ahh you’re right about the weird way Django deals with database level defaults. This is already tracked in https://code.djangoproject.com/ticket/470 which you might want to CC.