What is the difference between postgres and postgresql_psycopg2 as a database engine for django?

前端 未结 1 1171
不思量自难忘°
不思量自难忘° 2021-01-07 16:53

I have worked with python for a while, but never django. I am taking over a project that a different employee made before leaving our company. I am wondering if there is a d

相关标签:
1条回答
  • 2021-01-07 17:51

    It's the same. django.db.backends.postgresql_psycopg2 used in django <1.8 and it was renamed in django 1.9 to django.db.backends.postgresql. From docs:

    Changed in Django 1.9:

    The django.db.backends.postgresql backend is named django.db.backends.postgresql_psycopg2 in older releases. For backwards compatibility, the old name still works in newer versions.

    0 讨论(0)
提交回复
热议问题