summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Willison <simon@simonwillison.net>2008-09-15 15:44:59 +0000
committerSimon Willison <simon@simonwillison.net>2008-09-15 15:44:59 +0000
commitfe3a560768b59b97ab47d91501c625a0edd50e7c (patch)
treeedce2515c6549a417e3beee20d9bab4df1f5b052 /docs
parentb8ba0154b8b22199f8e52f7033d3fdc3cd720474 (diff)
Added mention of inclusion tags to reusable form templates documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/custom-template-tags.txt2
-rw-r--r--docs/topics/forms/index.txt3
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/howto/custom-template-tags.txt b/docs/howto/custom-template-tags.txt
index e1ddefe02a..7a4185a1c9 100644
--- a/docs/howto/custom-template-tags.txt
+++ b/docs/howto/custom-template-tags.txt
@@ -619,6 +619,8 @@ When your template tag does not need access to the current context, writing a
function to work with the input values and using the ``simple_tag`` helper is
the easiest way to create a new tag.
+.. _howto-custom-template-tags-inclusion-tags:
+
Inclusion tags
~~~~~~~~~~~~~~
diff --git a/docs/topics/forms/index.txt b/docs/topics/forms/index.txt
index 0c51907a99..8ef16cdd39 100644
--- a/docs/topics/forms/index.txt
+++ b/docs/topics/forms/index.txt
@@ -321,6 +321,9 @@ context you can alias it using the :ttag:`with` tag::
<p><input type="submit" value="Submit comment" /></p>
</form>
+You can also create a custom :ref:`inclusion
+tag<howto-custom-template-tags-inclusion-tags>`.
+
Further topics
==============