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
e077224f
Kaydet (Commit)
e077224f
authored
Eki 14, 2013
tarafından
Bouke Haarsma
Kaydeden (comit)
Tim Graham
Eki 14, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #20962 -- Documented that template tag render() may raise exceptions.
Thanks Keryn Knight for the report.
üst
54cd930b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
AUTHORS
AUTHORS
+1
-0
custom-template-tags.txt
docs/howto/custom-template-tags.txt
+6
-2
No files found.
AUTHORS
Dosyayı görüntüle @
e077224f
...
@@ -277,6 +277,7 @@ answer newbie questions, and generally made Django that much better:
...
@@ -277,6 +277,7 @@ answer newbie questions, and generally made Django that much better:
Janos Guljas
Janos Guljas
Thomas Güttler <hv@tbz-pariv.de>
Thomas Güttler <hv@tbz-pariv.de>
Horst Gutmann <zerok@zerokspot.com>
Horst Gutmann <zerok@zerokspot.com>
Bouke Haarsma <bouke@haarsma.eu>
Antti Haapala <antti@industrialwebandmagic.com>
Antti Haapala <antti@industrialwebandmagic.com>
Scot Hacker <shacker@birdhouse.org>
Scot Hacker <shacker@birdhouse.org>
dAniel hAhler
dAniel hAhler
...
...
docs/howto/custom-template-tags.txt
Dosyayı görüntüle @
e077224f
...
@@ -478,8 +478,12 @@ Notes:
...
@@ -478,8 +478,12 @@ Notes:
* The ``render()`` method is where the work actually happens.
* The ``render()`` method is where the work actually happens.
* ``render()`` should never raise ``TemplateSyntaxError`` or any other
* ``render()`` should generally fail silently, particularly in a production
exception. It should fail silently, just as template filters should.
environment where :setting:`DEBUG` and :setting:`TEMPLATE_DEBUG` are
``False``. In some cases however, particularly if :setting:`TEMPLATE_DEBUG` is
``True``, this method may raise an exception to make debugging easier. For
example, several core tags raise ``django.template.TemplateSyntaxError``
if they receive the wrong number or type of arguments.
Ultimately, this decoupling of compilation and rendering results in an
Ultimately, this decoupling of compilation and rendering results in an
efficient template system, because a template can render multiple contexts
efficient template system, because a template can render multiple contexts
...
...
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