[4.0.x] Refs #32243 -- Fixed typo in docs/topics/files.txt.
Backport of 25514b604a
from main
This commit is contained in:
parent
d55a1e5809
commit
3714b44142
|
@ -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::
|
||||
|
|
Loading…
Reference in New Issue