-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Django 4.2 requires PostgreSQL 12+ #19446
Comments
Please paste the full error trace |
I think it is because of using array field in model and it is an open issue on yugabyte, isn't it?
The above exception was the direct cause of the following exception:
|
Can you print the migration query that is failing? |
Actually it is django that raise the Error. it does not support postgres version lower than 12. |
I have tested some Django CRUD projects on yugabyte. |
Looks like support was dropped in 4.2 https://docs.djangoproject.com/en/4.2/releases/4.2/#dropped-support-for-postgresql-11 This will be available in #9797 |
Maybe we can disable this check in https://github.com/yugabyte/yb-django ? |
Anyone any help? |
@aminmaghsodi We'll have to see if simply removing the version check is possible and check if it breaks anything. cc @Sfurti-yb. If not, we'll have to wait until #9797 gets resolved. We will get back on this soon. |
Using the YugabyteDB backend for django should resolve this issue. The version check for it requires minimum database version as postgresql 10. |
Jira Link: DB-8237
Description
Hi, Django v4 was launched and it is now on 4.2.6
When I startup my application with the below config,
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'db', 'USER': 'user', 'PASSWORD': 'lJUD0YCB', 'HOST': '10.10.10.1', 'PORT': '5433', } }
it says: django.db.utils.NotSupportedError: PostgreSQL 12 or later is required (found 11.2).
I am now on latest version of Yugabyte. 2.18
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: