From 785ada1bc8889072d29023a503486a01ca8b3028 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Mon, 15 May 2006 00:15:20 +0000 Subject: [PATCH] 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 --- django/db/models/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/models/base.py b/django/db/models/base.py index d847ff7b56..88bed45c8a 100644 --- a/django/db/models/base.py +++ b/django/db/models/base.py @@ -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()