mirror of
https://github.com/pinry/pinry.git
synced 2025-11-14 00:55:43 +01:00
Fix: Fix test failure cased by new django-test client response
+ Also fix the old middleware + Fix MIDDLEWARE name error
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
from io import BytesIO
|
||||
|
||||
import mock
|
||||
import qrcode
|
||||
from django.test import TestCase
|
||||
from django.core.files.images import ImageFile
|
||||
from django.conf import settings
|
||||
from django.utils.six import BytesIO
|
||||
from django_images.models import Image, Thumbnail
|
||||
from django_images.templatetags.images import at_size
|
||||
from django_images.utils import scale_and_crop_single
|
||||
|
||||
Reference in New Issue
Block a user