Ticket #9052: fixdocs.diff
File fixdocs.diff, 489 bytes (added by , 16 years ago) |
---|
-
docs/topics/files.txt
35 35 Any ``Car`` instance will have a ``photo`` attribute that you can use to get at 36 36 the details of the attached photo:: 37 37 38 >>> car = Car.object .get(name="57 Chevy")38 >>> car = Car.objects.get(name="57 Chevy") 39 39 >>> car.photo 40 40 <ImageFieldFile: chevy.jpg> 41 41 >>> car.photo.name