jamespacileo/django-pure-pagination — Issue #9: Naming of variables in templates
Author: juandecarrion
Created: 2012-01-06 17:31:41+00:00
State: open

Hi James,

In https://github.com/jamespacileo/django-pure-pagination/blob/master/pure_pagination/templates/pure_pagination/pagination.html the context variable that contains the Current Page Object is called **current_page**

While in https://docs.djangoproject.com/en/dev/ref/generic-views/#list-detail-generic-views Django uses the name **page_obj**

Could you change the name of that variable in your code and templates in order to use the same terminology as in Django? A side effect of this would be that the templates in generic class-based list views would be able to include your template instead of forcing the user to rewrite a new template.

If you need more details, let me know.