summaryrefslogtreecommitdiff
path: root/docs/db-api.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-05-03 20:01:11 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-05-03 20:01:11 +0000
commitfc7b5fa0aefc53bf709a23d08f0a01693ab50b7c (patch)
tree8b5c229c768533134d61854567c20430a0cb74a1 /docs/db-api.txt
parentceecba2973d0ff965936425ab0c9e09a4d50e537 (diff)
Fixed typos in docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/db-api.txt')
-rw-r--r--docs/db-api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/db-api.txt b/docs/db-api.txt
index c35f4645ed..21afa20253 100644
--- a/docs/db-api.txt
+++ b/docs/db-api.txt
@@ -1525,14 +1525,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