I have example code in view:
try bla-bla-bla except return 500 status
How to view error in this try in error.log for Django ( for example if Django run on mod-python in Apache ) ?
this answer your question:
Django Unhandled Exception
Print to sys.stderr, or better yet, use logging.
sys.stderr
logging