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
3215bc98
Kaydet (Commit)
3215bc98
authored
Ara 15, 2016
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Refs #27576 -- Fixed running Django's tests if GDAL isn't installed.
üst
b01ceae8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fields.py
django/contrib/gis/db/models/fields.py
+1
-1
No files found.
django/contrib/gis/db/models/fields.py
Dosyayı görüntüle @
3215bc98
...
...
@@ -5,7 +5,6 @@ from django.contrib.gis.db.models.lookups import (
RasterBandTransform
,
gis_lookups
,
)
from
django.contrib.gis.db.models.proxy
import
SpatialProxy
from
django.contrib.gis.gdal
import
SpatialReference
from
django.contrib.gis.gdal.error
import
GDALException
from
django.contrib.gis.geometry.backend
import
Geometry
,
GeometryException
from
django.core.exceptions
import
ImproperlyConfigured
...
...
@@ -26,6 +25,7 @@ def get_srid_info(srid, connection):
given SRID from the `spatial_ref_sys` (or equivalent) spatial database
table for the given database connection. These results are cached.
"""
from
django.contrib.gis.gdal
import
SpatialReference
global
_srid_cache
try
:
...
...
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