[ckan-changes] [ckan/ckan] 912e51: Allow to defined legacy route mappings as a dict i...

GitHub noreply at github.com
Thu Oct 25 11:43:28 UTC 2018


  Branch: refs/heads/legacy-route-mappings-as-dict
  Home:   https://github.com/ckan/ckan
  Commit: 912e517c7a3562d65d8ca017e2cc39cfa5d27c1a
      https://github.com/ckan/ckan/commit/912e517c7a3562d65d8ca017e2cc39cfa5d27c1a
  Author: amercader <amercadero at gmail.com>
  Date:   2018-10-25 (Thu, 25 Oct 2018)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/tests/controllers/test_home.py

  Log Message:
  -----------
  Allow to defined legacy route mappings as a dict in config

The current code only updates the core default list if the
`ckan.legacy_route_mappings` is a string (which is probably how it comes
from the ini file). But this setting can also be set by extensions
directly on the config object, and it makes more sense to do it as a
dict.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the ckan-changes mailing list