Skip to main content

dj-paginator

https://badge.fury.io/py/dj-paginator.png https://travis-ci.org/pydanny/dj-paginator.png?branch=master

A super-simple set of pagination tools for Django 1.8+

Documentation

The full documentation will soon be at https://dj-paginator.readthedocs.org.

Features

  • Super simple code base.

  • Easy to create and switch themes.

  • Really good documentation! (coming soon)

  • Really good tests! (coming soon)

  • Class-Based View mixin so you don’t need to load template tags (coming soon)

Quickstart

Install dj-paginator:

pip install dj-paginator

In your installed apps:

INSTALLED_APPS = [
    'paginator'
]

In your list view:

class MyListView(ListView):
    model = MyModel
    paginate_by = 10

In your list view template:

{% load paginator_tags %}

{% paginator %}

Done!

Switching to a new theme method 1

# Currently defaults to bootstrap.
# I'll add foundation soon.
PAGINATOR_THEME = 'foundation'

Switching to a new theme method 2

{% load paginator_tags %}

{# Is the default #}
{% bootstrap_paginator %}

{# For when I add the foundation theme#}
{% foundation_paginator %}

History

0.1.0 (2015-07-26)

  • First release on PyPI.

  • Inception

Metadata

Release files for dj-paginator 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dj-paginator 0.2.1
File Size Uploaded Provenance Actions
dj-paginator-0.2.1.tar.gz 7.0 kB Without provenance Details for dj-paginator-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dj-paginator 0.2.1
File Interpreter ABI Platform Actions
dj_paginator-0.2.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for dj_paginator-0.2.1-py2.py3-none-any.whl

Total release size: 13.9 kB

Release files / dj-paginator-0.2.1.tar.gz

Download URL dj-paginator-0.2.1.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
151f63e1413b4f6e1aa4672622e3d543411e1d8078ac506808c78f621bfc8ef7
BLAKE2b-256 checksum
How to use checksums
e0c6e74cc3bed6525d2c778b6a153e35bb826029e24ba4da690b803c14b91dc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dj_paginator-0.2.1-py2.py3-none-any.whl

Download URL dj_paginator-0.2.1-py2.py3-none-any.whl
Size 7.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
505204fc2a1ac962540584ee6098b69c7a6d1cc69c12ad85b4c18e1b9804e0e4
BLAKE2b-256 checksum
How to use checksums
d6bba8fb9629c6bc95d4a02ae853736fe012a77ad875b567fdddd46f785228d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for dj-paginator 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page