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

This commit is contained in:
Nicholas Serra 2014-10-18 21:01:56 -04:00 committed by Loic Bistuer
parent 825ea83858
commit 6c79d32977
2 changed files with 2 additions and 2 deletions

View File

@ -391,7 +391,7 @@ class ImageField(FileField):
checks.Error( checks.Error(
'Cannot use ImageField because Pillow is not installed.', 'Cannot use ImageField because Pillow is not installed.',
hint=('Get Pillow at https://pypi.python.org/pypi/Pillow ' hint=('Get Pillow at https://pypi.python.org/pypi/Pillow '
'or run command "pip install pillow".'), 'or run command "pip install Pillow".'),
obj=self, obj=self,
id='fields.E210', id='fields.E210',
) )

View File

@ -505,7 +505,7 @@ class ImageFieldTests(IsolatedModelsTestCase):
Error( Error(
'Cannot use ImageField because Pillow is not installed.', 'Cannot use ImageField because Pillow is not installed.',
hint=('Get Pillow at https://pypi.python.org/pypi/Pillow ' hint=('Get Pillow at https://pypi.python.org/pypi/Pillow '
'or run command "pip install pillow".'), 'or run command "pip install Pillow".'),
obj=field, obj=field,
id='fields.E210', id='fields.E210',
), ),