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
This commit is contained in:
Simon Willison 2008-09-15 15:44:59 +00:00
parent b8ba0154b8
commit fe3a560768
2 changed files with 5 additions and 0 deletions

View File

@ -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 function to work with the input values and using the ``simple_tag`` helper is
the easiest way to create a new tag. the easiest way to create a new tag.
.. _howto-custom-template-tags-inclusion-tags:
Inclusion tags Inclusion tags
~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~

View File

@ -321,6 +321,9 @@ context you can alias it using the :ttag:`with` tag::
<p><input type="submit" value="Submit comment" /></p> <p><input type="submit" value="Submit comment" /></p>
</form> </form>
You can also create a custom :ref:`inclusion
tag<howto-custom-template-tags-inclusion-tags>`.
Further topics Further topics
============== ==============