jieter / django-tables2

django-tables2 - An app for creating HTML tables
https://django-tables2.readthedocs.io/en/latest/
Other
1.86k stars 426 forks source link

500 error by adding negative per_page query to a model based table #913

Open AndreasDickow opened 1 year ago

AndreasDickow commented 1 year ago

The following error occurs when setting ?per_page=-1 to an url of a model based table:

django/db/models/query.py", line 425, in getitem raise ValueError("Negative indexing is not supported.")

ValueError: Negative indexing is not supported.