Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
43380e91
Kaydet (Commit)
43380e91
authored
Mar 21, 2017
tarafından
Mariusz Felisiak
Kaydeden (comit)
GitHub
Mar 21, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #27966 -- Bumped required psycopg2 version to 2.5.4.
Thanks Tim Graham for the review.
üst
7063a855
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
base.py
django/db/backends/postgresql/base.py
+2
-2
fields.txt
docs/ref/contrib/postgres/fields.txt
+1
-1
index.txt
docs/ref/contrib/postgres/index.txt
+0
-3
databases.txt
docs/ref/databases.txt
+2
-2
1.11.txt
docs/releases/1.11.txt
+3
-0
postgres.txt
tests/requirements/postgres.txt
+1
-1
No files found.
django/db/backends/postgresql/base.py
Dosyayı görüntüle @
43380e91
...
...
@@ -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.
...
...
docs/ref/contrib/postgres/fields.txt
Dosyayı görüntüle @
43380e91
...
...
@@ -517,7 +517,7 @@ using in conjunction with lookups on
of the JSON which allows indexing. The trade-off is a small additional cost
on writing to the ``jsonb`` field. ``JSONField`` uses ``jsonb``.
**As a result, this field requires PostgreSQL ≥ 9.4
and Psycopg2 ≥ 2.5.4
**.
**As a result, this field requires PostgreSQL ≥ 9.4**.
Querying ``JSONField``
----------------------
...
...
docs/ref/contrib/postgres/index.txt
Dosyayı görüntüle @
43380e91
...
...
@@ -9,9 +9,6 @@ PostgreSQL has a number of features which are not shared by the other databases
Django supports. This optional module contains model fields and form fields for
a number of PostgreSQL specific data types.
Psycopg2 2.5 or higher is required, though we highly recommend using the latest
release. Some fields require higher versions.
.. note::
Django is, and will continue to be, a database-agnostic web framework. We
would encourage those writing reusable applications for the Django
...
...
docs/ref/databases.txt
Dosyayı görüntüle @
43380e91
...
...
@@ -92,8 +92,8 @@ below for information on how to set up your database correctly.
PostgreSQL notes
================
Django supports PostgreSQL 9.3 and higher.
It requires the use of `psycopg2`_
2.4.5 or higher (or 2.5+ if you want to use :mod:`django.contrib.postgres`)
.
Django supports PostgreSQL 9.3 and higher.
`psycopg2`_ 2.5.4 or higher is
required, though the latest release is recommended
.
.. _psycopg2: http://initd.org/psycopg/
...
...
docs/releases/1.11.txt
Dosyayı görüntüle @
43380e91
...
...
@@ -521,6 +521,9 @@ Django 1.11 sets PostgreSQL 9.3 as the minimum version it officially supports.
Support for PostGIS 2.0 is also removed as PostgreSQL 9.2 is the last version
to support it.
Also, the minimum supported version of psycopg2 is increased from 2.4.5 to
2.5.4.
``LiveServerTestCase`` binds to port zero
-----------------------------------------
...
...
tests/requirements/postgres.txt
Dosyayı görüntüle @
43380e91
psycopg2>=2.5
psycopg2>=2.5
.4
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment