We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TypeError Exception Value:
object of type 'itertools.imap' has no len()
In this code snippet: {% if table.page %}
In other words: bool(table.page) will rise this error.
The text was updated successfully, but these errors were encountered:
The reason is that new method __len__ was added to Paginator:
__len__
def __len__(self): return len(self.object_list)
Sorry, something went wrong.
Ditto with 1.4.0 rc1.
This is fixed now, thanks guys.
No branches or pull requests
TypeError
Exception Value:
object of type 'itertools.imap' has no len()
In this code snippet:
{% if table.page %}
In other words:
bool(table.page) will rise this error.
The text was updated successfully, but these errors were encountered: