[ckan-changes] [ckan/ckan] 60930a: Add `origin` value for Flask extension routes.

GitHub noreply at github.com
Tue Jun 21 16:18:50 UTC 2016


  Branch: refs/heads/poc-flask-views
  Home:   https://github.com/ckan/ckan
  Commit: 60930a27d09a2180a0b9e33cd692092912afd42b
      https://github.com/ckan/ckan/commit/60930a27d09a2180a0b9e33cd692092912afd42b
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-21 (Tue, 21 Jun 2016)

  Changed paths:
    M ckan/config/middleware/flask_app.py
    M ckan/tests/config/test_middleware.py
    M ckan/tests/config/test_sessions.py
    M ckan/tests/lib/test_base.py
    M ckanext/example_flask_iblueprint/tests/test_routes.py

  Log Message:
  -----------
  Add `origin` value for Flask extension routes.

- fixes tests in test_middleware.py to include tests for flask
  extensions
- refactors how blueprints are registered in flask_app.py with a new
  `register_extension_blueprint` method. Extension authors shouldn't
need to call this directly, except when registering an extension
blueprint in tests.




More information about the ckan-changes mailing list