[1.8.x] Fixed typo in django/db/models/fields/files.py comment.

Backport of 99a1bbf985 from master
This commit is contained in:
Don Kirkby 2015-02-20 14:47:41 -08:00 committed by Tim Graham
parent 3207fcd0a0
commit 5131aec7d2
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ class FileDescriptor(object):
instance.__dict__[self.field.name] = attr instance.__dict__[self.field.name] = attr
# Other types of files may be assigned as well, but they need to have # Other types of files may be assigned as well, but they need to have
# the FieldFile interface added to the. Thus, we wrap any other type of # the FieldFile interface added to them. Thus, we wrap any other type of
# File inside a FieldFile (well, the field's attr_class, which is # File inside a FieldFile (well, the field's attr_class, which is
# usually FieldFile). # usually FieldFile).
elif isinstance(file, File) and not isinstance(file, FieldFile): elif isinstance(file, File) and not isinstance(file, FieldFile):