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
07a9771b
Kaydet (Commit)
07a9771b
authored
Haz 03, 2017
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed unused django.contrib.gis.shortcuts.render_to_text()
Unused since its introduction in
79e68c22
.
üst
43b57400
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
shortcuts.py
django/contrib/gis/shortcuts.py
+0
-5
No files found.
django/contrib/gis/shortcuts.py
Dosyayı görüntüle @
07a9771b
...
...
@@ -38,8 +38,3 @@ def render_to_kmz(*args, **kwargs):
compress_kml
(
loader
.
render_to_string
(
*
args
,
**
kwargs
)),
content_type
=
'application/vnd.google-earth.kmz'
,
)
def
render_to_text
(
*
args
,
**
kwargs
):
"Render the response using the MIME type for plain text."
return
HttpResponse
(
loader
.
render_to_string
(
*
args
,
**
kwargs
),
content_type
=
'text/plain'
)
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