Open lijinzhou2016 opened 6 years ago
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 %}
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)
Exception Type: | TypeError
'Page' object is not iterable