mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #21302 -- Fixed unused imports and import *.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user