joashivanmoodley / django-pagination

Automatically exported from code.google.com/p/django-pagination
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Raw query breaks pagination #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
normal pagination

What version of the product are you using? On what operating system?
1.07

Please provide any additional information below.
TemplateSyntaxError at /csbuysell/

Caught TypeError while rendering: object of type 'RawQuerySet' has no len()

Request Method:     GET
Request URL:    http://xxxxxx
Django Version:     1.2.1
Exception Type:     TemplateSyntaxError
Exception Value:    

Caught TypeError while rendering: object of type 'RawQuerySet' has no len()

Exception Location: 
    /usr/local/lib/python2.6/dist-packages/django/core/paginator.py in _get_count, 
line 53
Python Executable:  /usr/bin/python
Python Version:     2.6.2

Original issue reported on code.google.com by jongriff...@gmail.com on 3 Sep 2010 at 8:23