Loading docs/topics/files.txt +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ Consider the following model, using a ``FileField`` to store a photo:: Any ``Car`` instance will have a ``photo`` attribute that you can use to get at the details of the attached photo:: >>> car = Car.object.get(name="57 Chevy") >>> car = Car.objects.get(name="57 Chevy") >>> car.photo <ImageFieldFile: chevy.jpg> >>> car.photo.name Loading Loading
docs/topics/files.txt +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ Consider the following model, using a ``FileField`` to store a photo:: Any ``Car`` instance will have a ``photo`` attribute that you can use to get at the details of the attached photo:: >>> car = Car.object.get(name="57 Chevy") >>> car = Car.objects.get(name="57 Chevy") >>> car.photo <ImageFieldFile: chevy.jpg> >>> car.photo.name Loading