[ckan-changes] [okfn/ckan] 9b72e8: [#2627] Refactor form_to_db_schema_options

GitHub noreply at github.com
Fri Jul 6 12:04:32 UTC 2012


  Branch: refs/heads/2627-bug-form-to-db-schema-not-called
  Home:   https://github.com/okfn/ckan
  Commit: 9b72e88919fcdd25c0156a430f00968c9ec76ec3
      https://github.com/okfn/ckan/commit/9b72e88919fcdd25c0156a430f00968c9ec76ec3
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-07-06 (Fri, 06 Jul 2012)

  Changed paths:
    M ckan/lib/plugins.py

  Log Message:
  -----------
  [#2627] Refactor form_to_db_schema_options

Make it call self.form_to_db_schema so that the form_to_db_schema()
methods of IDatasetForm extensions get called.

Also make it call new form_to_db_schema_api_create() and
form_to_db_schema_api_update() methods which could potentially be
overridden by extensions also.





More information about the ckan-changes mailing list