Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit fe3a560768b59b97ab47d91501c625a0edd50e7c 1 parent b8ba015
Simon Willison authored
2  docs/howto/custom-template-tags.txt
View
@@ -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
~~~~~~~~~~~~~~
3  docs/topics/forms/index.txt
View
@@ -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
==============
Please sign in to comment.
Something went wrong with that request. Please try again.