From 5a4feb9ec2c901ba2504a2daf74ab1272fc07b48 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sun, 14 Sep 2008 06:49:28 +0000 Subject: [PATCH] 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 --- docs/topics/files.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 >>> car.photo.name