HttpResponseNotModified, HttpResponseBadRequest, HttpResponseForbidden, HttpResponseNotFound, HttpResponseNotAllowed, HttpResponseGone, HttpResponseServerError, Http404, BadHeaderError, JsonResponse into default name space. from django.http.utils import fix_location_header and conditional_content_removal into default name space.
from django . http . utils import fix_location_header , conditional_content_removal