Fixes import error related to HttpResponseNotAllowed.