1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

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

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.