django-endless-pagination
django-endless-pagination copied to clipboard
'QueryDict' object has no attribute 'REQUEST'
Hi, i installed endless pagination but i have some kind of problem.
What i done:
- Installed the last version with pip
- Defined 'endless_pagination' at settings on INSTALLED_APPS
- Added django.core.context_processors.request at TEMPLATE_CONTEXT_PROCESSORS
- Modified the template:
{% load endless %} {% paginate anuncios %} {% for dato in anuncios %} {# my code ..... #} {% empty %} Message. {% endfor %} {% show_pages %}
But, when i go the view where the items should be listed i see the following error:
'QueryDict' object has no attribute 'REQUEST'
The problem line: {% paginate anuncios %}
Any ideas why it is this happening ??? Thanks a lot !
I solved the issue, i was using the request reserved name.
Bye !