Loading django/db/models/fields/files.py +1 −1 Original line number Diff line number Diff line Loading @@ -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', ) Loading tests/invalid_models_tests/test_ordinary_fields.py +1 −1 Original line number Diff line number Diff line Loading @@ -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', ), Loading Loading
django/db/models/fields/files.py +1 −1 Original line number Diff line number Diff line Loading @@ -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', ) Loading
tests/invalid_models_tests/test_ordinary_fields.py +1 −1 Original line number Diff line number Diff line Loading @@ -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', ), Loading