django-endless-pagination
django-endless-pagination copied to clipboard
Loading within table
Thanks to the issue #54, I have implemented a templatetag show_more_table which works like show_more within HTML table.
Small demo:
{% load endless %}
{% paginate 5 objects %}
<table>
<thead>
<tr>
<th>Title</th>
<th>Content</th>
</tr>
</thead>
<tbody>
{% for object in objects %}
<tr>
<td>{{ object.title }}</td>
<td>{{ object.contents }}</td>
</tr>
{% endfor %}
{% show_more_table "More results" %}
</tbody>
</table>
Thanks for working code! I was triyng to make endless paginaton work at least a week! With your templatetag all works like a charm
@GreatWizard - Thanks for this fix