Refactor pagination including 'meta' and using django Paginator