from django.core.files.uploadedfile import TemporaryUploadedFile and InMemoryUploadedFile into default name space.
from django . core . files . uploadedfile import TemporaryUploadedFile , InMemoryUploadedFile