[ckan-changes] [ckan/ckan] 9cdc19: Extensions can be registered as	Flask Blueprints.
    GitHub 
    noreply at github.com
       
    Fri May 13 13:21:15 UTC 2016
    
    
  
  Branch: refs/heads/poc-flask-views.blueprint
  Home:   https://github.com/ckan/ckan
  Commit: 9cdc19f86e2de76985ddbdb69a668380298939f2
      https://github.com/ckan/ckan/commit/9cdc19f86e2de76985ddbdb69a668380298939f2
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-05-13 (Fri, 13 May 2016)
  Changed paths:
    M ckan/config/middleware.py
    M ckan/plugins/core.py
    A ckanext/example_flask_iroutes/__init__.py
    A ckanext/example_flask_iroutes/plugin.py
    A ckanext/example_flask_iroutes/tests/__init__.py
    A ckanext/example_flask_iroutes/tests/test_routes.py
    M setup.py
  Log Message:
  -----------
  Extensions can be registered as Flask Blueprints.
Plugins that implement the IRoutes interface can define a
`get_blueprint` method, returning a Flask Blueprint. This can be used to
extend the functionality of the Flask app.
Routes defined by the extension blueprint will take priority over routes
with equivalent rules defined by core.
    
    
More information about the ckan-changes
mailing list