mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -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 | Any ``Car`` instance will have a ``photo`` attribute that you can use to get at | ||||||
| the details of the attached photo:: | the details of the attached photo:: | ||||||
|  |  | ||||||
|     >>> car = Car.object.get(name="57 Chevy") |     >>> car = Car.objects.get(name="57 Chevy") | ||||||
|     >>> car.photo |     >>> car.photo | ||||||
|     <ImageFieldFile: chevy.jpg> |     <ImageFieldFile: chevy.jpg> | ||||||
|     >>> car.photo.name |     >>> car.photo.name | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user