Ticket #9052: fixdocs.diff

File fixdocs.diff, 489 bytes (added by KiWiB0RG, 7 years ago)

files doc fix

  • docs/topics/files.txt

     
    3535Any ``Car`` instance will have a ``photo`` attribute that you can use to get at
    3636the details of the attached photo::
    3737
    38     >>> car = Car.object.get(name="57 Chevy")
     38    >>> car = Car.objects.get(name="57 Chevy")
    3939    >>> car.photo
    4040    <ImageFieldFile: chevy.jpg>
    4141    >>> car.photo.name
Back to Top