1
0
mirror of https://github.com/django/django.git synced 2025-04-11 19:12:22 +00:00

Fixed -- 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
django/db/models/fields
tests/invalid_models_tests

@ -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',
)

@ -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',
),