Corrected models.FilePathField signature in docs.

This commit is contained in:
Adam Johnson 2020-05-04 10:01:30 +02:00 committed by Mariusz Felisiak
parent f6d0bd208a
commit 787981f9d1
1 changed files with 2 additions and 2 deletions

View File

@ -1006,10 +1006,10 @@ periodically via e.g. cron).
``FilePathField`` ``FilePathField``
----------------- -----------------
.. class:: FilePathField(path=None, match=None, recursive=False, max_length=100, **options) .. class:: FilePathField(path='', match=None, recursive=False, allow_files=True, allow_folders=False, max_length=100, **options)
A :class:`CharField` whose choices are limited to the filenames in a certain A :class:`CharField` whose choices are limited to the filenames in a certain
directory on the filesystem. Has three special arguments, of which the first is directory on the filesystem. Has some special arguments, of which the first is
**required**: **required**:
.. attribute:: FilePathField.path .. attribute:: FilePathField.path