diff options
| author | Georg Bauer <gb@hugo.westfalen.de> | 2005-10-04 19:34:43 +0000 |
|---|---|---|
| committer | Georg Bauer <gb@hugo.westfalen.de> | 2005-10-04 19:34:43 +0000 |
| commit | 6e2b74d65e84938fdc05f2de40bcfe15efadc693 (patch) | |
| tree | 43c91a20fff4506a76c2eaecb0318c793bcd0d1e /docs/db-api.txt | |
| parent | 8c2b8aaee676131e6cbf6cb9e50393638db6c451 (diff) | |
i18n: merged r722:774 from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/db-api.txt')
| -rw-r--r-- | docs/db-api.txt | 2 |
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. |
