An efficient paginator that works.
Project description
A simple and efficient paginator.
Jinja2
Jinja2 is supported via Coffin:
{% with paginate(request, my_queryset) as results %} {{ results.paging }} {% for result in results.objects %} {{ result }} {% endfor %} {{ results.paging }} {% endwith %}
Django
Django templatetags require django-templatetag-sugar:
{% load paging_extras %} {% paginate my_queryset from request as results %} {{ results.paging }} {% for result in results.objects %} {{ result }} {% endfor %} {{ results.paging }}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-paging-0.2.5.tar.gz
(4.1 kB
view details)
File details
Details for the file django-paging-0.2.5.tar.gz
.
File metadata
- Download URL: django-paging-0.2.5.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b35d31b9632766bd1f4747109e38352938df35c5a639d62cae818be543fef2bb |
|
MD5 | 282ef984815f73ce43189d288b2bae2a |
|
BLAKE2b-256 | 73b60165172d65329600c135999733e205fb42678f27062808ea3e9ec015629e |