Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django template tag multiple arguments

from django import template
register = template.Library()

@register.simple_tag
def multiple_args_tag(a, b, c, d):
   #do your stuff
   return
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #template #tag #multiple #arguments
ADD COMMENT
Topic
Name
2+9 =