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

Commit f5a3b00

Browse files
Update README.md
Adding definition of show_index_range option in bootstrap_paginate.
1 parent 2998ec6 commit f5a3b00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ TEMPLATE_CONTEXT_PROCESSORS = (
8686
(Accepts "true" or "false")
8787
- **first_label** - The label to use for the First page link
8888
- **last_label** - The label to use for the Last page link
89+
- **show_index_range** - Boolean, defaults to "false". If "true" shows index range of items instead of page numbers in the paginator. For example, if paginator is configured for 50 items per page, show_index_range="true" will display [1-50, 51-100, **101-150**, 151-200, 201-250, etc.] rather than [1, 2, **3**, 4, 5, etc.].
8990
- **url_view_name** - A named URL reference (such as one that might get passed inti the URL
9091
template tag) to use as the URL template. Must be resolvable by the
9192
reverse() function. **If this option is not specified, the tag simply

0 commit comments

Comments
 (0)