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

Commit 4126bd8

Browse files
committed
Updated version. Now considered stable.
1 parent f29b56d commit 4126bd8

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

README.markdown

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Django Bootstrap Pagination
22

3+
**Note:** This version is now considered stable. It is compatible with Bootstrap 2.x only! Please use the master branch for Bootstrap 3 support.
4+
35
This application serves to make using Twitter's Bootstrap Pagination styles
46
work seamlessly with Django Page objects. By passing in a Page object and
57
one or more optional arguments, Bootstrap pagination bars and pagers can

bootstrap_pagination/templatetags/bootstrap_pagination.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def render(self, context):
8888
if page.has_next():
8989
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)
9090

91-
return get_template("bootstrap-pagination/pager.html").render(
91+
return get_template("bootstrap_pagination/pager.html").render(
9292
Context({
9393
'page': page,
9494
'centered': centered,
@@ -201,7 +201,7 @@ def render(self, context):
201201
if page.has_next():
202202
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)
203203

204-
return get_template("bootstrap-pagination/pagination.html").render(
204+
return get_template("bootstrap_pagination/pagination.html").render(
205205
Context({
206206
'page': page,
207207
'alignment': alignment,

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88

99
setup(
1010
name='django-bootstrap-pagination',
11-
version='0.1.11',
11+
version='1.0',
1212
keywords="django bootstrap pagination templatetag",
1313
author=u'Jason McClellan',
1414
author_email='[email protected]',
1515
packages=find_packages(),
1616
url='https://github.com/jmcclell/django-bootstrap-pagination',
1717
license='MIT licence, see LICENCE',
18-
description='Render Django Page objects as Bootstrap Pagination compatible HTML',
18+
description='Render Django Page objects as Bootstrap 2.x Pagination compatible HTML',
1919
long_description=readme_text.encode('UTF-8'),
2020
zip_safe=False,
2121
include_package_data=True,
2222
classifiers=[
23-
"Development Status :: 3 - Alpha",
23+
"Development Status :: 5 - Production/Stable",
2424
"Framework :: Django",
2525
"Intended Audience :: Developers",
2626
"License :: OSI Approved :: MIT License",

0 commit comments

Comments
 (0)