Explorar o código

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
Russell Keith-Magee %!s(int64=16) %!d(string=hai) anos
pai
achega
5a4feb9ec2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/topics/files.txt

+ 1 - 1
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