Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (14 sloc) 502 Bytes
.. _apps-templatetags:
Template Tags
=============
+ Placed in APP/templatetags/APP_tags.py
Proposed template tag syntax
++++++++++++++++++++++++++++
+ as (Context Var): This is used to set a variable in the context of
the page
+ for (object or app.model): This is used to designate an object for
an action to be taken on.
+ limit (num): This is used to limit a result to a certain number of
results.
+ exclude (object or pk): The same as for, but is used to exclude
things of that type.