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:40:33 +0200
commit883362b6a793ff337c9314c03716c2e12c69d4d8 (patch)
tree391942c5ca9485d740fd2ccb050b10bec3138403 /docs
parent5c6be5816d145a6444a31d9948ee5d7f53be7583 (diff)
[3.0.x] Corrected models.FilePathField signature in docs.
Backport of 787981f9d1d5abc489a0b069e3353b8ad7aa9778 from master
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 0f076066cb..9a3de0db78 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -1001,10 +1001,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