Ticket #18374: 18374.diff

File 18374.diff, 924 bytes (added by Aymeric Augustin, 6 years ago)
  • docs/ref/forms/fields.txt

    diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
    index 486d49d..082ec17 100644
    a b For each field, we describe the default widget used if you don't specify 
    591591    * Error message keys: ``required``, ``invalid``, ``missing``, ``empty``,
    592592      ``invalid_image``
    594     Using an ImageField requires that the `Python Imaging Library`_ is installed.
     594    Using an ``ImageField`` requires that the `Python Imaging Library`_ (PIL)
     595    is installed and supports the image formats you use. If you encounter a
     596    ``corrupt image`` error when you upload an image, it usually means PIL
     597    doesn't understand its format. To fix this, install the appropriate
     598    library and reinstall PIL.
    596600    When you use an ``ImageField`` on a form, you must also remember to
    597601    :ref:`bind the file data to the form <binding-uploaded-files>`.
Back to Top