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