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
a73cf811
Kaydet (Commit)
a73cf811
authored
Tem 18, 2018
tarafından
Mariusz Felisiak
Kaydeden (comit)
Tim Graham
Tem 18, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed duplicate words in various comments.
üst
6e78e105
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
features.py
django/contrib/gis/db/backends/base/features.py
+1
-1
fallback.py
django/contrib/messages/storage/fallback.py
+1
-1
__init__.py
django/core/management/__init__.py
+2
-2
query.py
django/db/models/sql/query.py
+2
-2
testcases.py
django/test/testcases.py
+1
-1
tree.py
django/utils/tree.py
+1
-1
No files found.
django/contrib/gis/db/backends/base/features.py
Dosyayı görüntüle @
a73cf811
...
@@ -27,7 +27,7 @@ class BaseSpatialFeatures:
...
@@ -27,7 +27,7 @@ class BaseSpatialFeatures:
supports_null_geometries
=
True
supports_null_geometries
=
True
# Are empty geometries supported?
# Are empty geometries supported?
supports_empty_geometries
=
False
supports_empty_geometries
=
False
# Can the
the
function be applied on geodetic coordinate systems?
# Can the function be applied on geodetic coordinate systems?
supports_distance_geodetic
=
True
supports_distance_geodetic
=
True
supports_length_geodetic
=
True
supports_length_geodetic
=
True
supports_perimeter_geodetic
=
False
supports_perimeter_geodetic
=
False
...
...
django/contrib/messages/storage/fallback.py
Dosyayı görüntüle @
a73cf811
...
@@ -6,7 +6,7 @@ from django.contrib.messages.storage.session import SessionStorage
...
@@ -6,7 +6,7 @@ from django.contrib.messages.storage.session import SessionStorage
class
FallbackStorage
(
BaseStorage
):
class
FallbackStorage
(
BaseStorage
):
"""
"""
Try to store all messages in the first backend. Store any unstored
Try to store all messages in the first backend. Store any unstored
messages in each subsequent backend
backend
.
messages in each subsequent backend.
"""
"""
storage_classes
=
(
CookieStorage
,
SessionStorage
)
storage_classes
=
(
CookieStorage
,
SessionStorage
)
...
...
django/core/management/__init__.py
Dosyayı görüntüle @
a73cf811
...
@@ -118,8 +118,8 @@ def call_command(command_name, *args, **options):
...
@@ -118,8 +118,8 @@ def call_command(command_name, *args, **options):
}
}
arg_options
=
{
opt_mapping
.
get
(
key
,
key
):
value
for
key
,
value
in
options
.
items
()}
arg_options
=
{
opt_mapping
.
get
(
key
,
key
):
value
for
key
,
value
in
options
.
items
()}
parse_args
=
[
str
(
a
)
for
a
in
args
]
parse_args
=
[
str
(
a
)
for
a
in
args
]
# Any required arguments which are passed in via **options must
must be
# Any required arguments which are passed in via **options must
be passed
#
passed
to parse_args().
# to parse_args().
parse_args
+=
[
parse_args
+=
[
'{}={}'
.
format
(
min
(
opt
.
option_strings
),
arg_options
[
opt
.
dest
])
'{}={}'
.
format
(
min
(
opt
.
option_strings
),
arg_options
[
opt
.
dest
])
for
opt
in
parser
.
_actions
if
opt
.
required
and
opt
.
dest
in
options
for
opt
in
parser
.
_actions
if
opt
.
required
and
opt
.
dest
in
options
...
...
django/db/models/sql/query.py
Dosyayı görüntüle @
a73cf811
...
@@ -1484,8 +1484,8 @@ class Query:
...
@@ -1484,8 +1484,8 @@ class Query:
joins
=
[
alias
]
joins
=
[
alias
]
# The transform can't be applied yet, as joins must be trimmed later.
# The transform can't be applied yet, as joins must be trimmed later.
# To avoid making every caller of this method look up transforms
# To avoid making every caller of this method look up transforms
# directly, compute transforms here and
and create a partial that
# directly, compute transforms here and
create a partial that converts
#
converts
fields to the appropriate wrapped version.
# fields to the appropriate wrapped version.
def
final_transformer
(
field
,
alias
):
def
final_transformer
(
field
,
alias
):
return
field
.
get_col
(
alias
)
return
field
.
get_col
(
alias
)
...
...
django/test/testcases.py
Dosyayı görüntüle @
a73cf811
...
@@ -626,7 +626,7 @@ class SimpleTestCase(unittest.TestCase):
...
@@ -626,7 +626,7 @@ class SimpleTestCase(unittest.TestCase):
def
assertRaisesMessage
(
self
,
expected_exception
,
expected_message
,
*
args
,
**
kwargs
):
def
assertRaisesMessage
(
self
,
expected_exception
,
expected_message
,
*
args
,
**
kwargs
):
"""
"""
Assert that expected_message is found in the
the
message of a raised
Assert that expected_message is found in the message of a raised
exception.
exception.
Args:
Args:
...
...
django/utils/tree.py
Dosyayı görüntüle @
a73cf811
...
@@ -52,7 +52,7 @@ class Node:
...
@@ -52,7 +52,7 @@ class Node:
return
obj
return
obj
def
__len__
(
self
):
def
__len__
(
self
):
"""Return the
the
number of children this node has."""
"""Return the number of children this node has."""
return
len
(
self
.
children
)
return
len
(
self
.
children
)
def
__bool__
(
self
):
def
__bool__
(
self
):
...
...
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