Skip to content
This repository has been archived by the owner on Apr 17, 2021. It is now read-only.

Commit

Permalink
Updated version. Now considered stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcclell committed Dec 19, 2013
1 parent f29b56d commit 4126bd8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Django Bootstrap Pagination

**Note:** This version is now considered stable. It is compatible with Bootstrap 2.x only! Please use the master branch for Bootstrap 3 support.

This application 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
Expand Down
4 changes: 2 additions & 2 deletions bootstrap_pagination/templatetags/bootstrap_pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def render(self, context):
if page.has_next():
next_page_url = get_page_url(page.next_page_number(), context.current_app, url_view_name, url_extra_args, url_extra_kwargs, url_param_name, url_get_params)

return get_template("bootstrap-pagination/pager.html").render(
return get_template("bootstrap_pagination/pager.html").render(
Context({
'page': page,
'centered': centered,
Expand Down Expand Up @@ -201,7 +201,7 @@ def render(self, context):
if page.has_next():
next_page_url = get_page_url(page.next_page_number(), context.current_app, url_view_name, url_extra_args, url_extra_kwargs, url_param_name, url_get_params)

return get_template("bootstrap-pagination/pagination.html").render(
return get_template("bootstrap_pagination/pagination.html").render(
Context({
'page': page,
'alignment': alignment,
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@

setup(
name='django-bootstrap-pagination',
version='0.1.11',
version='1.0',
keywords="django bootstrap pagination templatetag",
author=u'Jason McClellan',
author_email='[email protected]',
packages=find_packages(),
url='https://github.com/jmcclell/django-bootstrap-pagination',
license='MIT licence, see LICENCE',
description='Render Django Page objects as Bootstrap Pagination compatible HTML',
description='Render Django Page objects as Bootstrap 2.x Pagination compatible HTML',
long_description=readme_text.encode('UTF-8'),
zip_safe=False,
include_package_data=True,
classifiers=[
"Development Status :: 3 - Alpha",
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
Expand Down

0 comments on commit 4126bd8

Please sign in to comment.