Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 5a4feb9ec2c901ba2504a2daf74ab1272fc07b48 1 parent 2d8d69f
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/files.txt
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.