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
a3052c35
Unverified
Kaydet (Commit)
a3052c35
authored
Eki 13, 2018
tarafından
Mariusz Felisiak
Kaydeden (comit)
GitHub
Eki 13, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed various comments in django/db/backends/oracle/base.py.
üst
1e3cd511
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
base.py
django/db/backends/oracle/base.py
+3
-6
No files found.
django/db/backends/oracle/base.py
Dosyayı görüntüle @
a3052c35
"""
Oracle database backend for Django.
Requires cx_Oracle: http
://cx-oracle.sourceforge.net
/
Requires cx_Oracle: http
s://oracle.github.io/python-cx_Oracle
/
"""
import
datetime
import
decimal
...
...
@@ -149,8 +149,8 @@ class DatabaseWrapper(BaseDatabaseWrapper):
# The patterns below are used to generate SQL pattern lookup clauses when
# the right-hand side of the lookup isn't a raw string (it might be an expression
# or the result of a bilateral transformation).
# In those cases, special characters for LIKE operators (e.g. \,
*, _) should be
#
escaped on
database side.
# In those cases, special characters for LIKE operators (e.g. \,
%, _)
#
should be escaped on the
database side.
#
# Note: we use str.format() here for readability as '%' is used as a wildcard for
# the LIKE operator.
...
...
@@ -381,9 +381,6 @@ class FormatStylePlaceholderCursor:
Django uses "format" (e.g. '
%
s') style placeholders, but Oracle uses ":var"
style. This fixes it -- but note that if you want to use a literal "
%
s" in
a query, you'll need to use "
%%
s".
We also do automatic conversion between Unicode on the Python side and
UTF-8 -- for talking to Oracle -- in here.
"""
charset
=
'utf-8'
...
...
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