Thursday, March 2, 2017

django manage.py 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 manage.py command crashes, the --traceback option is what you're looking for.

Use it like this:
python manage.py <methodname> --traceback

No comments:

Post a Comment