[ckan-changes] [ckan/ckan] 2ac658: Refactor middleware module.

GitHub noreply at github.com
Fri Jun 3 15:27:52 UTC 2016


  Branch: refs/heads/poc-flask-views.middleware
  Home:   https://github.com/ckan/ckan
  Commit: 2ac658f760ccae9cdcfefbd1e59a64963f766249
      https://github.com/ckan/ckan/commit/2ac658f760ccae9cdcfefbd1e59a64963f766249
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    R ckan/config/middleware.py
    A ckan/config/middleware/__init__.py
    A ckan/config/middleware/common_middleware.py
    A ckan/config/middleware/flask_app.py
    A ckan/config/middleware/pylons_app.py
    M ckan/tests/config/test_middleware.py
    M ckan/tests/helpers.py

  Log Message:
  -----------
  Refactor middleware module.

It was starting to become unmanageably large with a lot of separate
concerns in one place.

- Separate the flask and pylons app code into separate modules.
- Separate the common middleware code into a separate module.




More information about the ckan-changes mailing list