summaryrefslogtreecommitdiff
path: root/docs/topics/files.txt
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2008-09-14 06:49:28 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2008-09-14 06:49:28 +0000
commit5a4feb9ec2c901ba2504a2daf74ab1272fc07b48 (patch)
treeb1324eadf9fb0c39f0760483a7c6b2c00fbb3f7b /docs/topics/files.txt
parent2d8d69f9ae0e396d79d42f7eccb6b882a86a602f (diff)
downloaddjango-5a4feb9ec2c901ba2504a2daf74ab1272fc07b48.tar.gz
Fixed #9052: Corrected typo in file handling docs. Thanks to KiWiB0RG for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/files.txt')
-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