django-pure-pagination
django-pure-pagination copied to clipboard
、 'Page' object is not iterable
Exception Type: | TypeError
'Page' object is not iterable
I met this issue too
Hi have you solved this issue?
in the template you must miss .object_list
{% for person in people.object_list %}
I got this error too. it's strange that it's not always present, on one page there is error , but on another page it is ok. Even I do not use page in html file, it will report error when django render the html page. I use django 1.11.13
TypeError: 'Page' object is not iterable E:\venv\imooc\Lib\site-packages\django\template\defaulttags.py
if not hasattr(values, '__len__'):
values = list(values)
len_values = len(values)