Corrected models.FileField signature in docs.

This commit is contained in:
Sih Sîng-hông薛丞宏 2022-01-28 14:47:22 +08:00 committed by Mariusz Felisiak
parent abfdb4d7f3
commit d4bf3b4c75
1 changed files with 1 additions and 1 deletions

View File

@ -771,7 +771,7 @@ A :class:`CharField` that checks that the value is a valid email address using
``FileField``
-------------
.. class:: FileField(upload_to=None, max_length=100, **options)
.. class:: FileField(upload_to='', storage=None, max_length=100, **options)
A file-upload field.