mirror of
https://github.com/django/django.git
synced 2025-09-07 11:10:43 +00:00
Fixed #27966 -- Bumped required psycopg2 version to 2.5.4.
Thanks Tim Graham for the review.
This commit is contained in:
parent
7063a85579
commit
43380e9110
6 changed files with 9 additions and 9 deletions
|
@ -30,8 +30,8 @@ def psycopg2_version():
|
|||
|
||||
PSYCOPG2_VERSION = psycopg2_version()
|
||||
|
||||
if PSYCOPG2_VERSION < (2, 4, 5):
|
||||
raise ImproperlyConfigured("psycopg2_version 2.4.5 or newer is required; you have %s" % psycopg2.__version__)
|
||||
if PSYCOPG2_VERSION < (2, 5, 4):
|
||||
raise ImproperlyConfigured("psycopg2_version 2.5.4 or newer is required; you have %s" % psycopg2.__version__)
|
||||
|
||||
|
||||
# Some of these import psycopg2, so import them after checking if it's installed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue