Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 785ada1bc8889072d29023a503486a01ca8b3028 1 parent 1006d6e
Malcolm Tredinnick authored May 15, 2006

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/db/models/base.py
2  django/db/models/base.py
@@ -298,7 +298,7 @@ def _get_FIELD_url(self, field):
298 298
         return ''
299 299
 
300 300
     def _get_FIELD_size(self, field):
301  
-        return os.path.getsize(self.__get_FIELD_filename(field))
  301
+        return os.path.getsize(self._get_FIELD_filename(field))
302 302
 
303 303
     def _save_FIELD_file(self, field, filename, raw_contents):
304 304
         directory = field.get_directory_name()

0 notes on commit 785ada1

Please sign in to comment.
Something went wrong with that request. Please try again.