[ckan-changes] [okfn/ckan] 242ea9: Add an example ITemplateHelpers extension

GitHub noreply at github.com
Fri Feb 22 16:41:30 UTC 2013


  Branch: refs/heads/445-bug-multilingual-tests-failing
  Home:   https://github.com/okfn/ckan
  Commit: 242ea9af31fe0e4a838e7e07ba9d3483aa80d4bf
      https://github.com/okfn/ckan/commit/242ea9af31fe0e4a838e7e07ba9d3483aa80d4bf
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-02-22 (Fri, 22 Feb 2013)

  Changed paths:
    A ckanext/example_itemplatehelpers/__init__.py
    A ckanext/example_itemplatehelpers/plugin.py
    A ckanext/example_itemplatehelpers/templates/home/index.html
    M setup.py

  Log Message:
  -----------
  Add an example ITemplateHelpers extension


  Commit: 33e967277642266ec93192a0902eba8963f1d6d0
      https://github.com/okfn/ckan/commit/33e967277642266ec93192a0902eba8963f1d6d0
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-02-22 (Fri, 22 Feb 2013)

  Changed paths:
    M ckan/plugins/interfaces.py

  Log Message:
  -----------
  Improve the ITemplateHelpers docstrings

Just make the docstrings a bit clearer and more explicit, and reference
the new example_itemplatehelpers extension.


  Commit: 7bca1480fa72dc3f982e74d248a1eea2e659a80e
      https://github.com/okfn/ckan/commit/7bca1480fa72dc3f982e74d248a1eea2e659a80e
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-02-22 (Fri, 22 Feb 2013)

  Changed paths:
    M ckanext/example_itemplatehelpers/plugin.py

  Log Message:
  -----------
  example_itemplatehelpers use a function not a method

It's not a good idea for template helper functions to be class methods,
because self is not thread-safe.


  Commit: aee8d37d811bed46c50c140d8c6fb2f9f9ad9311
      https://github.com/okfn/ckan/commit/aee8d37d811bed46c50c140d8c6fb2f9f9ad9311
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-02-22 (Fri, 22 Feb 2013)

  Changed paths:
    M ckan/plugins/interfaces.py

  Log Message:
  -----------
  Add a couple of details to ITemplateHelpers docs


  Commit: cce79768f6691cc5a6b8db5018e4d710d8feacfb
      https://github.com/okfn/ckan/commit/cce79768f6691cc5a6b8db5018e4d710d8feacfb
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-02-22 (Fri, 22 Feb 2013)

  Changed paths:
    M ckan/plugins/interfaces.py
    A ckanext/example_itemplatehelpers/__init__.py
    A ckanext/example_itemplatehelpers/plugin.py
    A ckanext/example_itemplatehelpers/templates/home/index.html
    M setup.py

  Log Message:
  -----------
  Merge branch 'master' of github.com:okfn/ckan into 445-bug-multilingual-tests-failing


Compare: https://github.com/okfn/ckan/compare/4548061f5574...cce79768f669


More information about the ckan-changes mailing list