summaryrefslogtreecommitdiff
path: root/tests/model_forms/models.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-10-18 07:25:30 -0400
committerTim Graham <timograham@gmail.com>2013-11-02 15:24:56 -0400
commit36ded01527b690b5df0574492af9cfcc2ea3d1dc (patch)
tree107e2f542034f13810496fd389972f856efc33f3 /tests/model_forms/models.py
parent9f76ea1eaad0db0183fa3b5bade16392db0cafbd (diff)
Fixed #21302 -- Fixed unused imports and import *.
Diffstat (limited to 'tests/model_forms/models.py')
-rw-r--r--tests/model_forms/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_forms/models.py b/tests/model_forms/models.py
index 37c3b37864..34644a4bb9 100644
--- a/tests/model_forms/models.py
+++ b/tests/model_forms/models.py
@@ -102,7 +102,7 @@ class TextFile(models.Model):
return self.description
try:
- from django.utils.image import Image
+ from django.utils.image import Image # NOQA: detect if Pillow is installed
test_images = True