Django traceback is a very helpful tool in Django development. It saves us from the boring tasking of writing print statements to track variables.
Traceback doesn’t kick when there is no error. There may be no coding errors but there is a flaw in our application logic which we want to debug. In such cases we can trigger Django traceback by adding
assert False in our code.
test_var = "Something"
test_var2 = "another var"