django-bootstrap-pagination is a Django app that serves to make using Twitter's Bootstrap Pagination styles work seamlessly with Django Page objects. By passing in a Page object and one or more optional arguments, Bootstrap pagination bars and pagers can be rendered with very little effort.
Installation
PIP
pip install django-bootstrap-pagination
Download
Download the files from:
github @ http://www.github.com/jmcclell/django-bootstrap-pagination
setup.py install
Usage
Setup
Make sure you include bootstrap-pagination in your installed_apps list in settings.py:
INSTALLED_APPS = (
'bootstrap-pagination',
)
Additionally, include the following snippet at the top of any template that makes use of the pagination tags:
{% load bootstrap_pagination %}
Requirements:
- Python
- Django
Comments not found