Closed jkleve closed 2 years ago
It appears this is fixed in master?
Any plan for the next release?
@jkleve do you know where is the fix in master ? to check if it possible a backport
Hi y'all,
This issue should be closed. This package is handling it correctly. Since Django 1.9, the alias django.db.backends.postgresql
has been used instead of django.db.backends.postgresql_psycogp2
. You can see that in the dj_database_url.py
file and read more in the Django 2.0 release notes.
@ovnicraft Sorry missed your comment. See "master" link above.
I'm running into the same issue at the moment. Any chance of a new release? As already mentioned, the current PyPI version (0.5.0) is still using the old behaviour, even though this is fixed on master
.
You can optionally install the package directly from git like so
git+https://github.com/jacobian/dj-database-url.git#egg=dj_database_url
The new version https://pypi.org/project/dj-database-url/1.0.0/ is out on pypi, which includes the fix, so the issue can be closed.
I'm getting this error
It seems to be using the wrong backend. It's using
'django.db.backends.postgresql_psycopg2'
withDATABASE_URL='postgres://root:toor@127.0.0.1:5432/django'
.This is with Django version 3.0