working of first admin templatetags