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
1f2e4f9c
Kaydet (Commit)
1f2e4f9c
authored
Haz 03, 2017
tarafından
Anupam
Kaydeden (comit)
Tim Graham
Haz 03, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #28190 -- Clarifed how include/extends treat template names.
üst
0c1355e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
builtins.txt
docs/ref/templates/builtins.txt
+6
-4
No files found.
docs/ref/templates/builtins.txt
Dosyayı görüntüle @
1f2e4f9c
...
@@ -215,8 +215,9 @@ This tag can be used in two ways:
...
@@ -215,8 +215,9 @@ This tag can be used in two ways:
See :ref:`template-inheritance` for more information.
See :ref:`template-inheritance` for more information.
A string argument may be a relative path starting with ``./`` or ``../``. For
Normally the template name is relative to the template loader's root directory.
example, assume the following directory structure::
A string argument may also be a relative path starting with ``./`` or ``../``.
For example, assume the following directory structure::
dir1/
dir1/
template.html
template.html
...
@@ -674,8 +675,9 @@ This example includes the contents of the template ``"foo/bar.html"``::
...
@@ -674,8 +675,9 @@ This example includes the contents of the template ``"foo/bar.html"``::
{% include "foo/bar.html" %}
{% include "foo/bar.html" %}
A string argument may be a relative path starting with ``./`` or ``../`` as
Normally the template name is relative to the template loader's root directory.
described in the :ttag:`extends` tag.
A string argument may also be a relative path starting with ``./`` or ``../``
as described in the :ttag:`extends` tag.
This example includes the contents of the template whose name is contained in
This example includes the contents of the template whose name is contained in
the variable ``template_name``::
the variable ``template_name``::
...
...
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