How to fix error when scrolling in the app django-el-pagination?

Hello, help to solve the problem.

Use endless scrolling app django-el-pagination.

When the user reaches the last page in the terminal there appears the error:
Time: [25/Jan/2018 08:37:38] | LevelName: DEBUG | Module base | Process: 1148 | Thread: 123145435922432 | Message: Exception while resolving variable 'querystring' in template 'documents/documents.html'.
Traceback (most recent call last):
 File "/Users/nurzhan_nogerbek/Virtualenvs/py2714/lib/python2.7/site-packages/django/template/base.py", line 903, in _resolve_lookup
 (bit, current)) # missing attribute
VariableDoesNotExist: Failed lookup for key [querystring] in u"[{'False': False, 'None': None, 'True': True}, {'csrf_token': <simplelazyobject: <function at _get_val 0x109034ed8>>}]</simplelazyobject:>


views.py:
from el_pagination.views import AjaxListView

class DocumentListView(AjaxListView):
 context_object_name = 'documents'
 template_name = "documents/main.html"
 page_template = 'documents/documents.html'

 def get_queryset(self):
 documents = Document.objects.all()
 return documents


documents/main.html:
<div class="list-group">
 {% include page_template %}
</div>


documents/documents.html:
{% load el_pagination_tags %}

{% paginate 20 documents %}
{% for document in documents %}
 {% include "documents/list_template.html" %}
{% endfor %}
{% show_more %}


documents/list_template.html:
<div class="list-group-item">{{document.title}}</div>


Like error because of the querystring, which is used in the template tag show_more. Do you have ideas how to fix this error?
June 8th 19 at 17:04

Find more questions by tags DjangoPython