Navigation
index
next
|
previous
|
django-reusable-app-docs v0.1.0 documentation
»
Django Reusable App Conventions
»
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.
Table Of Contents
Template Tags
Proposed template tag syntax
Previous topic
Templates
Next topic
Tests
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.
Navigation
index
next
|
previous
|
django-reusable-app-docs v0.1.0 documentation
»
Django Reusable App Conventions
»