diff options
| author | Grace Hawkins <amoomajid99@gmail.com> | 2022-02-05 13:49:22 +0330 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-02-05 11:19:53 +0100 |
| commit | 3714b44142dbf5b55b21530b2cc6d9cc2751da68 (patch) | |
| tree | fa6efa1f29f743d4ab131f7a6fd6a0a248bfb762 /docs | |
| parent | d55a1e5809b424907528af42bfdfc2991ef11651 (diff) | |
[4.0.x] Refs #32243 -- Fixed typo in docs/topics/files.txt.
Backport of 25514b604a64686ba603bf10a8a63390dc38b79d from main
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/files.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/files.txt b/docs/topics/files.txt index f6fd82ec9a..6f7f9c21e2 100644 --- a/docs/topics/files.txt +++ b/docs/topics/files.txt @@ -33,7 +33,7 @@ store a photo:: name = models.CharField(max_length=255) price = models.DecimalField(max_digits=5, decimal_places=2) photo = models.ImageField(upload_to='cars') - specs = models.FileFile(upload_to='specs') + specs = models.FileField(upload_to='specs') Any ``Car`` instance will have a ``photo`` attribute that you can use to get at the details of the attached photo:: |
