'BlockNode' object has no attribute 'context'
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am new to django/python. I am trying out Pagination on scroll using django-endless-pagination and found the below error: 'BlockNode' object has no attribute 'context' entry_index.html <h2>Logs:</h2> {% include page_template %} {% block js %} {{ block.super }} <script src="http://code.jquery.com/jquery-latest.js"></script> <script src="{{ STATIC_URL }}endless_pagination/js/endless-pagination.js"></script> <script> $.endlessPaginate({ paginateOnScroll: true, paginateOnScrollChunkSize: 5 }); </script> {% endblock %} entry_index_page.html {%