summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2020-05-04 10:01:30 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-04 12:10:41 +0200
commit787981f9d1d5abc489a0b069e3353b8ad7aa9778 (patch)
treefce7e306278074a065cb0bff4a21705582c5578e /docs
parentf6d0bd208ab44e6b2dfc2da6265c9632bc0a05c6 (diff)
Corrected models.FilePathField signature in docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/fields.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 71960e897e..036a2c996e 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -1006,10 +1006,10 @@ periodically via e.g. cron).
``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
-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**:
.. attribute:: FilePathField.path