Kaydet (Commit) 785ada1b authored tarafından Malcolm Tredinnick's avatar Malcolm Tredinnick

Fixed #1858 : typo in get_FIELD_size() method. Thanks, tom@jerakeen.org.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 1006d6eb
......@@ -298,7 +298,7 @@ class Model(object):
return ''
def _get_FIELD_size(self, field):
return os.path.getsize(self.__get_FIELD_filename(field))
return os.path.getsize(self._get_FIELD_filename(field))
def _save_FIELD_file(self, field, filename, raw_contents):
directory = field.get_directory_name()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment