diff --git a/django/core/handlers/base.py b/django/core/handlers/base.py index 3ed1a33325..fd3a3ccae1 100644 --- a/django/core/handlers/base.py +++ b/django/core/handlers/base.py @@ -134,7 +134,6 @@ class BaseHandler: Returns an HttpResponse that displays a TECHNICAL error message for a fundamental database or coding error. """ - import sys from django.views import debug if is404: return debug.technical_404_response(request, exception)