File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -218,10 +218,6 @@ class Column:
218218 - If a `tuple` is passed, it must be either a (viewname, args) or (viewname, kwargs)
219219 tuple, which is also passed to ``~django.urls.reverse``.
220220
221- initial_sort_descending (bool): If `True`, a column will sort in descending order
222- on "first click" after table has been rendered. If `False`, column will follow
223- default behavior, and sort ascending on "first click". Defaults to `False`.
224-
225221 Examples, assuming this model::
226222
227223 class Blog(models.Model):
@@ -244,6 +240,10 @@ class Blog(models.Model):
244240 user = tables.Column(linkify=("user_detail", [tables.A("user__pk")])) # (viewname, args)
245241 user = tables.Column(linkify=("user_detail", {"pk": tables.A("user__pk")})) # (viewname, kwargs)
246242
243+ initial_sort_descending (bool): If `True`, a column will sort in descending order
244+ on "first click" after table has been rendered. If `False`, column will follow
245+ default behavior, and sort ascending on "first click". Defaults to `False`.
246+
247247 .. [1] The provided callable object must not expect to receive any arguments.
248248 """
249249
You can’t perform that action at this time.
0 commit comments