summaryrefslogtreecommitdiff
path: root/docs/db-api.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-09-30 16:39:05 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-09-30 16:39:05 +0000
commitacde573821ebd99a5b7df05e16f6a4d906d4870e (patch)
tree5acc9e7b344caee11b726b5411937280879021fb /docs/db-api.txt
parent5595fe2aa6863df838f246d7aea8f15c8160f76d (diff)
Fixed typo in docs/db-api.txt. Thanks, Aggelos Orfanakos
git-svn-id: http://code.djangoproject.com/svn/django/trunk@746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/db-api.txt')
-rw-r--r--docs/db-api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/db-api.txt b/docs/db-api.txt
index 4c49a2760f..e0885da8f0 100644
--- a/docs/db-api.txt
+++ b/docs/db-api.txt
@@ -524,7 +524,7 @@ model with an ``ImageField`` will also get this method.
get_FOO_url()
-------------
-For every ``FileField``, the object will have a ``get_FOO_filename()`` method,
+For every ``FileField``, the object will have a ``get_FOO_url()`` method,
where ``FOO`` is the name of the field. This returns the full URL to the file,
according to your ``MEDIA_URL`` setting. If the value is blank, this method
returns an empty string.