Corrected models.FilePathField signature in docs.
This commit is contained in:
parent
f6d0bd208a
commit
787981f9d1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue