mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Fixed #21302 -- Fixed unused imports and import *.
This commit is contained in:
parent
9f76ea1eaa
commit
36ded01527
116 changed files with 248 additions and 181 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue