diff --git a/django/views/debug.py b/django/views/debug.py index 0345859c74..af03882e77 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -247,11 +247,6 @@ class ExceptionReporter(object): self.template_does_not_exist = False self.postmortem = None - # Handle deprecated string exceptions - if isinstance(self.exc_type, six.string_types): - self.exc_value = Exception('Deprecated String Exception: %r' % self.exc_type) - self.exc_type = type(self.exc_value) - def get_traceback_data(self): """Return a dictionary containing traceback information.""" if self.exc_type and issubclass(self.exc_type, TemplateDoesNotExist):