Skip to content
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

postgresql_psycopg2 deprecation warning (django-netfields 1.2.2) #111

Closed
i1t opened this issue Mar 30, 2021 · 4 comments
Closed

postgresql_psycopg2 deprecation warning (django-netfields 1.2.2) #111

i1t opened this issue Mar 30, 2021 · 4 comments

Comments

@i1t
Copy link

i1t commented Mar 30, 2021

/Users/i1t/.pyenv/versions/3.6.4/lib/python3.6/site-packages/netfields/compat.py:4: RemovedInDjango30Warning: The django.db.backends.postgresql_psycopg2 module is deprecated in favor of django.db.backends.postgresql.
from django.db.backends.postgresql_psycopg2.base import DatabaseWrapper

@oza4h07
Copy link

oza4h07 commented Mar 31, 2021

Within this venv, what is the output of
python -m pip list | grep netfields

@i1t
Copy link
Author

i1t commented Mar 31, 2021

Within this venv, what is the output of
python -m pip list | grep netfields

django-netfields 1.2.2

@i1t i1t changed the title postgresql_psycopg2 deprecation warning postgresql_psycopg2 deprecation warning (django-netfields 1.2.2) Mar 31, 2021
@jimfunk
Copy link
Owner

jimfunk commented Apr 3, 2021

What version of Django are you using? It should not be loading that library on Django 3 or grater.

@i1t
Copy link
Author

i1t commented Apr 3, 2021

What version of Django are you using? It should not be loading that library on Django 3 or grater.

Django 2.2.6.

@jimfunk jimfunk closed this as completed in 5f0b4b4 Apr 3, 2021
galst1234 pushed a commit to galst1234/django-postgresql-netfields that referenced this issue Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants