mirror of
https://github.com/django/django.git
synced 2025-07-18 08:39:15 +00:00
[3.0.x] Corrected models.FilePathField signature in docs.
Backport of 787981f9d1d5abc489a0b069e3353b8ad7aa9778 from master
This commit is contained in:
parent
5c6be5816d
commit
883362b6a7
@ -1001,10 +1001,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…
x
Reference in New Issue
Block a user