Syntax: <viewport-length>{1,2} django template code example
Example: template tags in django
from django import template
register = template.Library()
#simle Tag
@register.simple_tag
def fun_name(data):
return data
from django import template
register = template.Library()
#simle Tag
@register.simple_tag
def fun_name(data):
return data