Initial port to django-1.7
[sommitrealweird.git] / sommitrealweird / photo / templates / photo / album_list.html
similarity index 94%
rename from sommitrealweird/photo/templates/photo/album_index.html
rename to sommitrealweird/photo/templates/photo/album_list.html
index beaeacbd6300333795079ec794917138bc0528dc..ab5ae6ce2445e31c695864dfe817f2792dfd5abe 100644 (file)
@@ -32,8 +32,8 @@
                 {% else %}
                     |
                 {% endif %}
-                {% ifequal paginator_page page %}
-                    {{ page }}
+                {% ifequal paginator_page page_obj.number %}
+                    {{ paginator_page }}
                 {% else %}
                     <a href="?page={{ paginator_page }}">{{ paginator_page }}</a>
                 {% endifequal %}