Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'QueryDict' object has no attribute 'REQUEST' #67

Open
ghost opened this issue May 8, 2014 · 1 comment
Open

'QueryDict' object has no attribute 'REQUEST' #67

ghost opened this issue May 8, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented May 8, 2014

Hi, i installed endless pagination but i have some kind of problem.

What i done:

  1. Installed the last version with pip
  2. Defined 'endless_pagination' at settings on INSTALLED_APPS
  3. Added django.core.context_processors.request at TEMPLATE_CONTEXT_PROCESSORS
  4. 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 !

@ghost
Copy link
Author

ghost commented May 8, 2014

I solved the issue, i was using the request reserved name.

Bye !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants