summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/6.1.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/6.1.txt b/docs/releases/6.1.txt
index b4b4e60082..3da0c6546f 100644
--- a/docs/releases/6.1.txt
+++ b/docs/releases/6.1.txt
@@ -258,6 +258,12 @@ Forms
:setting:`USE_BLANK_CHOICE_DASH` allows you to revert back to the old
default label.
+* :class:`~django.forms.FilePathField` now provides a
+ :meth:`~django.forms.FilePathField.set_choices` method to scan the
+ directory at :attr:`~django.forms.FilePathField.path` and refresh the
+ field's choices. This allows per-request refreshing when called in a form's
+ ``__init__()``.
+
Generic Views
~~~~~~~~~~~~~