Commit 6c79d329 authored by Nicholas Serra's avatar Nicholas Serra Committed by Loic Bistuer
Browse files

Fixed #23684 -- Used correct package name for Pillow in Error hint.

parent 825ea838
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -391,7 +391,7 @@ class ImageField(FileField):
                checks.Error(
                    'Cannot use ImageField because Pillow is not installed.',
                    hint=('Get Pillow at https://pypi.python.org/pypi/Pillow '
                          'or run command "pip install pillow".'),
                          'or run command "pip install Pillow".'),
                    obj=self,
                    id='fields.E210',
                )
+1 −1
Original line number Diff line number Diff line
@@ -505,7 +505,7 @@ class ImageFieldTests(IsolatedModelsTestCase):
            Error(
                'Cannot use ImageField because Pillow is not installed.',
                hint=('Get Pillow at https://pypi.python.org/pypi/Pillow '
                      'or run command "pip install pillow".'),
                      'or run command "pip install Pillow".'),
                obj=field,
                id='fields.E210',
            ),