File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -218,10 +218,6 @@ class Column:
218
218
- If a `tuple` is passed, it must be either a (viewname, args) or (viewname, kwargs)
219
219
tuple, which is also passed to ``~django.urls.reverse``.
220
220
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
-
225
221
Examples, assuming this model::
226
222
227
223
class Blog(models.Model):
@@ -244,6 +240,10 @@ class Blog(models.Model):
244
240
user = tables.Column(linkify=("user_detail", [tables.A("user__pk")])) # (viewname, args)
245
241
user = tables.Column(linkify=("user_detail", {"pk": tables.A("user__pk")})) # (viewname, kwargs)
246
242
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
+
247
247
.. [1] The provided callable object must not expect to receive any arguments.
248
248
"""
249
249
You can’t perform that action at this time.
0 commit comments