Update pagination_tags.py

Fixing template calling