Fixed #5170 -- Made FileField a link in the ImageField section of docs/model-api.txt -- assuming the ReST gods are smiling on me today

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-08-25 18:48:32 +00:00
parent ce207949f3
commit eb2ce98b29
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ development version. See the `Django 0.96 documentation`_ for the old behavior.
``ImageField`` ``ImageField``
~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
Like ``FileField``, but validates that the uploaded object is a valid Like `FileField`_, but validates that the uploaded object is a valid
image. Has two extra optional arguments, ``height_field`` and image. Has two extra optional arguments, ``height_field`` and
``width_field``, which, if set, will be auto-populated with the height and ``width_field``, which, if set, will be auto-populated with the height and
width of the image each time a model instance is saved. width of the image each time a model instance is saved.