From a0485f5c4f4602f93115e147f780df2811a8380a Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 11 Apr 2006 03:33:19 +0000 Subject: [PATCH] Fixed #1540 -- Fixed typos in docs/db-api.txt. Thanks, pb git-svn-id: http://code.djangoproject.com/svn/django/trunk@2670 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/db-api.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/db-api.txt b/docs/db-api.txt index 72e03e5a88..e37645e601 100644 --- a/docs/db-api.txt +++ b/docs/db-api.txt @@ -604,14 +604,14 @@ returns an empty string. get_FOO_size() -------------- -For every ``FileField``, the object will have a ``get_FOO_filename()`` method, +For every ``FileField``, the object will have a ``get_FOO_size()`` method, where ``FOO`` is the name of the field. This returns the size of the file, in bytes. (Behind the scenes, it uses ``os.path.getsize``.) save_FOO_file(filename, raw_contents) ------------------------------------- -For every ``FileField``, the object will have a ``get_FOO_filename()`` method, +For every ``FileField``, the object will have a ``save_FOO_file()`` method, where ``FOO`` is the name of the field. This saves the given file to the filesystem, using the given filename. If a file with the given filename already exists, Django adds an underscore to the end of the filename (but before the