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
1f8a5d4f
Kaydet (Commit)
1f8a5d4f
authored
Eyl 26, 2018
tarafından
Mariusz Felisiak
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
[2.1.x] Made DatabaseWrapper.oracle_version() return a full version tuple.
Backport of
90d93a1b
from master
üst
cdb8ee74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
base.py
django/db/backends/oracle/base.py
+2
-9
No files found.
django/db/backends/oracle/base.py
Dosyayı görüntüle @
1f8a5d4f
...
...
@@ -300,17 +300,10 @@ class DatabaseWrapper(BaseDatabaseWrapper):
else
:
return
True
@cached_property
def
oracle_full_version
(
self
):
with
self
.
temporary_connection
():
return
self
.
connection
.
version
@cached_property
def
oracle_version
(
self
):
try
:
return
int
(
self
.
oracle_full_version
.
split
(
'.'
)[
0
])
except
ValueError
:
return
None
with
self
.
temporary_connection
():
return
tuple
(
int
(
x
)
for
x
in
self
.
connection
.
version
.
split
(
'.'
))
class
OracleParam
:
...
...
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