From 25514b604a64686ba603bf10a8a63390dc38b79d Mon Sep 17 00:00:00 2001 From: Grace Hawkins Date: Sat, 5 Feb 2022 13:49:22 +0330 Subject: [PATCH] Refs #32243 -- Fixed typo in docs/topics/files.txt. --- docs/topics/files.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/files.txt b/docs/topics/files.txt index f6fd82ec9ab..6f7f9c21e2e 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::