1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #29956 -- Allowed overriding an order field widget in formsets.

This commit is contained in:
Hasan Ramezani
2018-11-21 21:58:04 +01:00
committed by Mariusz Felisiak
parent 413d50b5ff
commit 5fc5d93512
4 changed files with 91 additions and 4 deletions

View File

@@ -139,7 +139,10 @@ File Uploads
Forms
~~~~~
* ...
* Formsets may control the widget used when ordering forms via
:attr:`~django.forms.formsets.BaseFormSet.can_order` by setting the
:attr:`~django.forms.formsets.BaseFormSet.ordering_widget` attribute or
overriding :attr:`~django.forms.formsets.BaseFormSet.get_ordering_widget()`.
Generic Views
~~~~~~~~~~~~~