Fixed #23684 -- Used correct package name for Pillow in Error hint.
This commit is contained in:
parent
825ea83858
commit
6c79d32977
|
@ -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',
|
||||||
)
|
)
|
||||||
|
|
|
@ -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',
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue