1
0
mirror of https://github.com/django/django.git synced 2025-04-08 15:36:47 +00:00

[3.0.x] Fixed typo in docs/topics/files.txt.

Backport of bf7b3e2750e3392d112b34e076ee1a77c8adbe77 from master
This commit is contained in:
Mariusz Felisiak 2019-10-29 14:13:47 +01:00 committed by Carlton Gibson
parent c5ccd20865
commit e5d3f3b83c

View File

@ -39,7 +39,7 @@ the details of the attached photo::
>>> car = Car.objects.get(name="57 Chevy")
>>> car.photo
<ImageFieldFile: chevy.jpg>
<ImageFieldFile: cars/chevy.jpg>
>>> car.photo.name
'cars/chevy.jpg'
>>> car.photo.path