Having this issue as well, pretty annoying. I'm on Django 1.9.2 and Python 3.5, but this is of course something which only can work on Python 2, because basestring doesn't exist in Python 3. I had no ...
assert isinstance(exc_value, NameError) # find most recent frame if tb is None: return None while tb.tb_next is not None: tb = tb.tb_next frame = tb.tb_frame d ...