Given this link for twitter-style pagination in Django. I'm trying to implement the same in my app but can't understand the splitting of template. I'm giving here the code of my HTML page for which I want to apply the pagination . Can anyone please help me by answering to what should I write in the two templates one is entry_index.html
and other is entry_index_page.html
(as mentioned in the link) according to my HTML code?
Below is my code to html page for which I'm applying pagination :
{% extends 'talks/base.html' %}
{% block content %}
<!-- .header-bottom-wrapper -->
<div class="header-bottom-wrapper">
<div class="container">
<div class="row">
<!-- Page Head -->
<div class="page-head col-lg-12">
<h2 class="page-title">Gallery</h2>
</div>
<!-- End Page Head -->
</div>
</div>
</div><!-- End of .header-bottom-wrapper -->
<!-- page-container -->
<div class="page-container container">
<!-- Gallery Filter -->
<div id="gallery-container">
<div class="row gallery-4-columns isotope clearfix">
{% for photo in pics %}
<div class="gallery-item isotope-item issues col-lg-3 col-md-3 col-sm-3 col-xs-6">
<figure>
<a class="zoom swipebox" href="{{photo.image.url}}" title="{{photo.title}}"></a>
<div class="media_container"></div>
<img src="{{photo.image.url}}" alt="{{photo.title}}" width="346px" height="200px">
</figure>
</div>
{% endfor %}
</div>
</div>
</div><!-- End of .page-container -->
{% endblock %}