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
21ff23bf
Kaydet (Commit)
21ff23bf
authored
Şub 20, 2019
tarafından
Ran Benita
Kaydeden (comit)
Tim Graham
Şub 20, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed an outdated comment on DefaultConnectionProxy.
üst
7feddd87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
__init__.py
django/db/__init__.py
+1
-5
No files found.
django/db/__init__.py
Dosyayı görüntüle @
21ff23bf
...
@@ -18,11 +18,6 @@ connections = ConnectionHandler()
...
@@ -18,11 +18,6 @@ connections = ConnectionHandler()
router
=
ConnectionRouter
()
router
=
ConnectionRouter
()
# DatabaseWrapper.__init__() takes a dictionary, not a settings module, so we
# manually create the dictionary from the settings, passing only the settings
# that the database backends care about.
# We load all these up for backwards compatibility, you should use
# connections['default'] instead.
class
DefaultConnectionProxy
:
class
DefaultConnectionProxy
:
"""
"""
Proxy for accessing the default DatabaseWrapper object's attributes. If you
Proxy for accessing the default DatabaseWrapper object's attributes. If you
...
@@ -42,6 +37,7 @@ class DefaultConnectionProxy:
...
@@ -42,6 +37,7 @@ class DefaultConnectionProxy:
return
connections
[
DEFAULT_DB_ALIAS
]
==
other
return
connections
[
DEFAULT_DB_ALIAS
]
==
other
# For backwards compatibility. Prefer connections['default'] instead.
connection
=
DefaultConnectionProxy
()
connection
=
DefaultConnectionProxy
()
...
...
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