TurboGears / tg2

Python web framework with full-stack layer implemented on top of a microframework core with support for SQL DBMS, MongoDB and Pluggable Applications
http://www.turbogears.org/
Other
806 stars 78 forks source link

In quickstart template /error/document crashes if accessed directly #105

Closed amol- closed 5 years ago

amol- commented 5 years ago

See https://github.com/TurboGears/tg2devtools/blob/development/devtools/gearbox/quickstart/template/%2Bpackage%2B/controllers/error.py_tmpl#L36 looking for resp.status_int, but resp will be None when /error/document is accessed directly thus leading to a crash.