"System error" has been prompted today at the time of the Django run, as follows
Except Exception, ex:
Logger.error (Printexception ())
Return render_string ("System error! ")
Then take it for granted.
Except Exception, ex:
Logger.error (Printexception ())
Print EX
Return render_string ("System error! ")
But there has been no output error reason, repeated several times, unexpectedly appeared Apache error, really, five miscellaneous Chen Ah!
As a result, children's shoes tell me that the echo in Python is completely different from the one in PHP, not output to standard output, and HttpResponse output
As for the above problem, after removing all. pyc files and restarting the server , there is a python alignment problem, and no alignment will still be an error .
After I change the Django code, it will only take effect if you restart the server
http://www.zhihu.com/question/21016845
Http://www.cnblogs.com/sky20081816/p/3309925.html
Several errors in Python