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
a5b94d9d
Kaydet (Commit)
a5b94d9d
authored
Kas 27, 2013
tarafından
Alex Gaynor
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
A handle of flake8 fixes
üst
df6760f1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
schema.py
django/contrib/gis/db/backends/postgis/schema.py
+0
-2
fields.py
django/contrib/gis/db/models/fields.py
+2
-2
No files found.
django/contrib/gis/db/backends/postgis/schema.py
Dosyayı görüntüle @
a5b94d9d
from
django.conf
import
settings
from
django.db.backends.postgresql_psycopg2.schema
import
DatabaseSchemaEditor
from
django.utils.functional
import
cached_property
class
PostGISSchemaEditor
(
DatabaseSchemaEditor
):
...
...
django/contrib/gis/db/models/fields.py
Dosyayı görüntüle @
a5b94d9d
...
...
@@ -112,9 +112,9 @@ class GeometryField(Field):
kwargs
[
'srid'
]
=
self
.
srid
if
self
.
dim
!=
2
:
kwargs
[
'dim'
]
=
self
.
dim
if
self
.
spatial_index
!=
True
:
if
self
.
spatial_index
is
not
True
:
kwargs
[
'spatial_index'
]
=
self
.
spatial_index
if
self
.
geography
!=
False
:
if
self
.
geography
is
not
False
:
kwargs
[
'geography'
]
=
self
.
geography
return
name
,
path
,
args
,
kwargs
...
...
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