summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/files.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/files.txt b/docs/topics/files.txt
index f4cb67219b..5650a3e715 100644
--- a/docs/topics/files.txt
+++ b/docs/topics/files.txt
@@ -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