Make request available in pagination template.
Add template tag for creating pagination link.