[ckan-changes] [ckan/ckan] 9cdbca: [#3229] Dispose of the SQLAlchemy session after ea...

GitHub noreply at github.com
Tue Sep 6 11:04:01 UTC 2016


  Branch: refs/heads/3229-api-blueprint
  Home:   https://github.com/ckan/ckan
  Commit: 9cdbca6f925649bf9748a31db1ee42d644d1a644
      https://github.com/ckan/ckan/commit/9cdbca6f925649bf9748a31db1ee42d644d1a644
  Author: amercader <amercadero at gmail.com>
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
    M ckan/config/middleware/flask_app.py

  Log Message:
  -----------
  [#3229] Dispose of the SQLAlchemy session after each request

This was also done on the Pylons BaseController, and it's necessary to
avoid the dreaded DetachedInstanceError during tests




More information about the ckan-changes mailing list