Thursday, March 2, 2017

django show stacktrace

This is a quick one more to save me time than anything else.

If you're looking for how to get the stacktrace when a django command crashes, the --traceback option is what you're looking for.

Use it like this:
python <methodname> --traceback

No comments:

Post a Comment