added docstring for the templatetags