Commit 6c392bb2 authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Moved doc on the DTL's syntax to the ref/ section.

This makes room for a more general introduction about templating.

Updated some links to point to the new location, but kept those that
didn't talk specifically about the DTL.
parent b86107ce
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -145,8 +145,11 @@ The template layer provides a designer-friendly syntax for rendering the
information to be presented to the user. Learn how this syntax can be used by
designers and how it can be extended by programmers:

* **The basics:**
  :doc:`Overview <topics/templates>`

* **For designers:**
  :doc:`Syntax overview <topics/templates>` |
  :doc:`Language overview <ref/templates/language>` |
  :doc:`Built-in tags and filters <ref/templates/builtins>` |
  :doc:`Web design helpers <ref/contrib/webdesign>` |
  :doc:`Humanization <ref/contrib/humanize>`
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ into those elements.
  both.

  If you want to do any special formatting for either the title or
  description, :doc:`Django templates </topics/templates>` can be used
  description, :doc:`Django templates </ref/templates/language>` can be used
  instead. Their paths can be specified with the ``title_template`` and
  ``description_template`` attributes on the
  :class:`~django.contrib.syndication.views.Feed` class. The templates are
+1 −1
Original line number Diff line number Diff line
@@ -2449,7 +2449,7 @@ List of locations of the template source files searched by

Note that these paths should use Unix-style forward slashes, even on Windows.

See :doc:`/topics/templates`.
See :doc:`/ref/templates/language`.

.. setting:: TEMPLATE_LOADERS

+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ The Django template language: For Python programmers

This document explains the Django template system from a technical
perspective -- how it works and how to extend it. If you're just looking for
reference on the language syntax, see :doc:`/topics/templates`.
reference on the language syntax, see :doc:`/ref/templates/language`.

If you're looking to use the Django template system as part of another
application -- i.e., without the rest of the framework -- make sure to read
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ material, see :doc:`/topics/templates` topic guide.
.. toctree::
   :maxdepth: 2

   language
   builtins
   api

Loading