diff options
author | Sih Sîng-hông薛丞宏 <ihcaoe@gmail.com> | 2022-01-28 14:47:22 +0800 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-03-28 20:29:53 +0200 |
commit | 7f69c0d9f7ab830a69aef3b218d0888118844e61 (patch) | |
tree | 7a7808b2fb849dd3a5c8e2d64d0be3a2d61eb644 | |
parent | efb26f1b8d74cd02b7c280bf3f49f35c08661cf0 (diff) | |
download | django-7f69c0d9f7ab830a69aef3b218d0888118844e61.tar.gz |
[4.0.x] Corrected models.FileField signature in docs.
Backport of d4bf3b4c75c0e1229062ad4c937725931f699fb7 from main
-rw-r--r-- | docs/ref/models/fields.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index bda42c3280..608ec2d709 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -780,7 +780,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. |