[ckan-changes] [ckan/ckan] fb24f7: [#3196] Add DebugToolbar to the Flask stack
GitHub
noreply at github.com
Thu Aug 18 12:08:56 UTC 2016
Branch: refs/heads/3196-flask-debug-and-testing
Home: https://github.com/ckan/ckan
Commit: fb24f718ae6adc4398a43805071c1aa727ac7f1f
https://github.com/ckan/ckan/commit/fb24f718ae6adc4398a43805071c1aa727ac7f1f
Author: amercader <amercadero at gmail.com>
Date: 2016-08-18 (Thu, 18 Aug 2016)
Changed paths:
M ckan/config/middleware/flask_app.py
M ckan/tests/config/test_middleware.py
M dev-requirements.txt
Log Message:
-----------
[#3196] Add DebugToolbar to the Flask stack
Similarly to Django debug toolbar, it offers a lot of really useful
information when debugging.
https://flask-debugtoolbar.readthedocs.io
It requires SECRET_KEY to be set up, which we will need for the sessions
anyway. As with the repoze.who auth token, we fall back to
`beaker.session.secret` if it's not present.
Commit: f3f6fb07828fd88701a4bfc218f4bd674fac576d
https://github.com/ckan/ckan/commit/f3f6fb07828fd88701a4bfc218f4bd674fac576d
Author: amercader <amercadero at gmail.com>
Date: 2016-08-18 (Thu, 18 Aug 2016)
Changed paths:
M ckan/config/middleware/flask_app.py
M ckan/tests/helpers.py
M test-core.ini
Log Message:
-----------
[#3196] Add a new testing config option
Flask behaves differently if TESTING is True, eg not capturing
exceptions when serving a page, which is the behaviour we have in the
Pylons tests.
Compare: https://github.com/ckan/ckan/compare/fb24f718ae6a^...f3f6fb07828f
More information about the ckan-changes
mailing list