django-el-pagination icon indicating copy to clipboard operation
django-el-pagination copied to clipboard

Twitter Style Pagination Stops at Loading [Django 1.11]

Open bobozar opened this issue 6 years ago • 0 comments

I'm having a hard time in making this cool package work! I followed the docs and when I load my site, it will just be showing 'loading'. nothing more.

vid.html

<div id="entr">
          {% include page_template %}

           {% block js %}
            {{ block.super }}

           <script src="http://code.jquery.com/jquery-latest.js"></script>
           <script type="text/javascript" src="{% static 'el-pagination/js/el-pagination.js' %}"></script>
          <script>
                 $(document).ready(function(){
                        $.endlessPaginate({pageSelector: 'div#entr', paginateOnScroll: true});
                  });
           </script>
          {% endblock %}
           </div>

Vid_page.html

            {% load el_pagination_tags %}

            {% paginate bucs %}
             {% for cb in bucs %}
                   //do your thing here
                 {% endfor %}
             {% show_more %}

What am I missing?

bobozar avatar May 15 '18 19:05 bobozar