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

GitHub noreply at github.com
Fri Oct 26 11:38:14 UTC 2018


  Branch: refs/heads/master
  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.


  Commit: e04a753420bcb030e062aabf47517a278f2e3b4e
      https://github.com/ckan/ckan/commit/e04a753420bcb030e062aabf47517a278f2e3b4e
  Author: Konstantin Sivakov <konstantin.sivakov at keitaro.com>
  Date:   2018-10-26 (Fri, 26 Oct 2018)

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

  Log Message:
  -----------
  Merge pull request #4521 from ckan/legacy-route-mappings-as-dict

Allow to define legacy route mappings as a dict in config


Compare: https://github.com/ckan/ckan/compare/e716704ad85a...e04a753420bc
      **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