Code

Ticket #9052: fixdocs.diff

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

files doc fix

Line 
1Index: docs/topics/files.txt
2===================================================================
3--- docs/topics/files.txt       (revision 9014)
4+++ docs/topics/files.txt       (working copy)
5@@ -35,7 +35,7 @@
6 Any ``Car`` instance will have a ``photo`` attribute that you can use to get at
7 the details of the attached photo::
8 
9-    >>> car = Car.object.get(name="57 Chevy")
10+    >>> car = Car.objects.get(name="57 Chevy")
11     >>> car.photo
12     <ImageFieldFile: chevy.jpg>
13     >>> car.photo.name