[ckan-discuss] Function that controls which fields to be posted

Sean Hammond sean.hammond at okfn.org
Fri Mar 22 14:59:01 GMT 2013


> def form_to_db_schema_api_update(self):
> 
> otherwise the fields won't save once we went back and made any
> changes. It does the same thing with form_to_db_schema. 

This behaviour has now been changed in CKAN master, see the docs for the
new IDatasetForm interface here:

http://docs.ckan.org/en/latest/writing-extensions.html#ckan.plugins.interfaces.IDatasetForm

I believe the plan is to backport this change to release-v2.0.



More information about the ckan-discuss mailing list