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
c4b04e15
Kaydet (Commit)
c4b04e15
authored
Kas 02, 2016
tarafından
Mariusz Felisiak
Kaydeden (comit)
Tim Graham
Kas 08, 2016
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #27420 -- Quoted the Oracle test user password in queries.
üst
fd78fb82
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
2 deletions
+48
-2
creation.py
django/db/backends/oracle/creation.py
+2
-2
databases.txt
docs/ref/databases.txt
+1
-0
1.10.4.txt
docs/releases/1.10.4.txt
+14
-0
1.8.17.txt
docs/releases/1.8.17.txt
+14
-0
1.9.12.txt
docs/releases/1.9.12.txt
+14
-0
index.txt
docs/releases/index.txt
+3
-0
No files found.
django/db/backends/oracle/creation.py
Dosyayı görüntüle @
c4b04e15
...
...
@@ -209,7 +209,7 @@ class DatabaseCreation(BaseDatabaseCreation):
print
(
"_create_test_user(): username =
%
s"
%
parameters
[
'user'
])
statements
=
[
"""CREATE USER
%(user)
s
IDENTIFIED BY
%(password)
s
IDENTIFIED BY
"
%(password)
s"
DEFAULT TABLESPACE
%(tblspace)
s
TEMPORARY TABLESPACE
%(tblspace_temp)
s
QUOTA UNLIMITED ON
%(tblspace)
s
...
...
@@ -226,7 +226,7 @@ class DatabaseCreation(BaseDatabaseCreation):
success
=
self
.
_execute_allow_fail_statements
(
cursor
,
statements
,
parameters
,
verbosity
,
acceptable_ora_err
)
# If the password was randomly generated, change the user accordingly.
if
not
success
and
self
.
_test_settings_get
(
'PASSWORD'
)
is
None
:
set_password
=
"ALTER USER
%(user)
s IDENTIFIED BY
%(password)
s"
set_password
=
'ALTER USER
%(user)
s IDENTIFIED BY "
%(password)
s"'
self
.
_execute_statements
(
cursor
,
[
set_password
],
parameters
,
verbosity
)
# Most test-suites can be run without the create-view privilege. But some need it.
extra
=
"GRANT CREATE VIEW TO
%(user)
s"
...
...
docs/ref/databases.txt
Dosyayı görüntüle @
c4b04e15
...
...
@@ -758,6 +758,7 @@ To run a project's test suite, the user usually needs these *additional*
privileges:
* CREATE USER
* ALTER USER
* DROP USER
* CREATE TABLESPACE
* DROP TABLESPACE
...
...
docs/releases/1.10.4.txt
0 → 100644
Dosyayı görüntüle @
c4b04e15
===========================
Django 1.10.4 release notes
===========================
*Under development*
Django 1.10.4 fixes several bugs in 1.10.3.
Bugfixes
========
* Quoted the Oracle test user's password in queries to fix the "ORA-00922:
missing or invalid option" error when the password starts with a number or
special character (:ticket:`27420`).
docs/releases/1.8.17.txt
0 → 100644
Dosyayı görüntüle @
c4b04e15
===========================
Django 1.8.17 release notes
===========================
*Under development*
Django 1.8.17 fixes a regression in 1.8.16.
Bugfixes
========
* Quoted the Oracle test user's password in queries to fix the "ORA-00922:
missing or invalid option" error when the password starts with a number or
special character (:ticket:`27420`).
docs/releases/1.9.12.txt
0 → 100644
Dosyayı görüntüle @
c4b04e15
===========================
Django 1.9.12 release notes
===========================
*Under development*
Django 1.9.12 fixes a regression in 1.9.11.
Bugfixes
========
* Quoted the Oracle test user's password in queries to fix the "ORA-00922:
missing or invalid option" error when the password starts with a number or
special character (:ticket:`27420`).
docs/releases/index.txt
Dosyayı görüntüle @
c4b04e15
...
...
@@ -33,6 +33,7 @@ versions of the documentation contain the release notes for any later releases.
.. toctree::
:maxdepth: 1
1.10.4
1.10.3
1.10.2
1.10.1
...
...
@@ -43,6 +44,7 @@ versions of the documentation contain the release notes for any later releases.
.. toctree::
:maxdepth: 1
1.9.12
1.9.11
1.9.10
1.9.9
...
...
@@ -61,6 +63,7 @@ versions of the documentation contain the release notes for any later releases.
.. toctree::
:maxdepth: 1
1.8.17
1.8.16
1.8.15
1.8.14
...
...
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