Pagination handler for Django project.