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
3f0c4fe1
Kaydet (Commit)
3f0c4fe1
authored
Ock 25, 2017
tarafından
Tim Graham
Kaydeden (comit)
GitHub
Ock 25, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Refs #25175 -- Deprecated db.backends.postgresql_psycopg2 module.
üst
ebf34c3c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
__init__.py
django/db/backends/postgresql_psycopg2/__init__.py
+9
-0
deprecation.txt
docs/internals/deprecation.txt
+2
-0
2.0.txt
docs/releases/2.0.txt
+6
-1
No files found.
django/db/backends/postgresql_psycopg2/__init__.py
Dosyayı görüntüle @
3f0c4fe1
import
warnings
from
django.utils.deprecation
import
RemovedInDjango30Warning
warnings
.
warn
(
"The django.db.backends.postgresql_psycopg2 module is deprecated in "
"favor of django.db.backends.postgresql."
,
RemovedInDjango30Warning
,
stacklevel
=
2
)
docs/internals/deprecation.txt
Dosyayı görüntüle @
3f0c4fe1
...
...
@@ -15,6 +15,8 @@ about each item can often be found in the release notes of two versions prior.
See the :ref:`Django 2.0 release notes<deprecated-features-2.0>` for more
details on these changes.
* The ``django.db.backends.postgresql_psycopg2`` module will be removed.
.. _deprecation-removed-in-2.1:
2.1
...
...
docs/releases/2.0.txt
Dosyayı görüntüle @
3f0c4fe1
...
...
@@ -225,7 +225,12 @@ Features deprecated in 2.0
Miscellaneous
-------------
* ...
* The ``django.db.backends.postgresql_psycopg2`` module is deprecated in favor
of ``django.db.backends.postgresql``. It's been an alias since Django 1.9.
This only affects code that imports from the module directly. The
``DATABASES`` setting can still use
``'django.db.backends.postgresql_psycopg2'``, though you can simplify that by
using the ``'django.db.backends.postgresql'`` name added in Django 1.9.
.. _removed-features-2.0:
...
...
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