Skip to content

Commit 8d9a581

Browse files
author
Christopher Keele
committed
Tweak pagination docstring in class based view
1 parent 6a06d52 commit 8d9a581

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

django_tables2/views.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SingleTableMixin(object):
2626
table_class = None
2727
table_data = None
2828
context_table_name = None
29-
paginate = True
29+
paginate = None
3030

3131
def get_table(self):
3232
"""
@@ -69,7 +69,8 @@ def get_table_data(self):
6969

7070
def get_paginate(self):
7171
"""
72-
Returns pagination options: True for default, False for no pagination, and a dictionary for custom pagination.
72+
Returns pagination options: True for standard pagination (default),
73+
False for no pagination, and a dictionary for custom pagination.
7374
"""
7475
if isinstance(self.paginate, int):
7576
return bool(self.paginate)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy