Skip to main content
Help us improve Python packaging – donate today!

Bootstrap 3 Pager element for django-fluent-contents

Project Description

fluentcms-pager

https://img.shields.io/travis/django-fluent/fluentcms-pager/master.svg?branch=master

Displaying a Bootstrap 3 pager in a page

Features:

  • Arrows
  • Previous/next links
  • Automatic title retrieval

Installation

First install the module, preferably in a virtual environment. It can be installed from PyPI:

pip install fluentcms-pager

First make sure the project is configured for django-fluent-contents.

Then add the following settings:

INSTALLED_APPS += (
    'fluentcms_pager',
)

The database tables can be created afterwards:

./manage.py migrate

Frontend styling

The pager is renderd with the HTML that Bootstrap prescribes:

<ul class="pager">
  <li class="previous"><a href="#"><span aria-hidden="true">&larr;</span> Older</a></li>
  <li class="next"><a href="#">Newer <span aria-hidden="true">&rarr;</span></a></li>
</ul>

The standard Bootstrap 3 CSS will provide a reasonable styling for this, which can either be overwritten, or replaced in your own CSS files.

Contributing

If you like this module, forked it, or would like to improve it, please let us know! Pull requests are welcome too. :-)

Release history Release notifications

This version
History Node

2.0

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
fluentcms_pager-2.0-py2.py3-none-any.whl (12.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jan 22, 2018
fluentcms-pager-2.0.tar.gz (12.3 kB) Copy SHA256 hash SHA256 Source None Jan 22, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page