'Return plain text version of debug 500 HTTP error page.'

def get_traceback_text(self):

    with Path(CURRENT_DIR, 'templates', 'technical_500.txt').open() as fh:
        t = DEBUG_ENGINE.from_string(fh.read())
    c = Context(self.get_traceback_data(), autoescape=False, use_l10n=False)
    return t.render(c)
