[ckan-dev] Override method
Funquist Tomas
tomas.funquist at smhi.se
Tue Feb 17 11:34:34 UTC 2015
Hello!
I want to slightly modify the "new_resource" method in ckan/controllers/package.py. Can I in a plugin somehow override that method? I have without success tried with the IActions interface.
What I want to do is to add
elif save_action == 'finish':
to the save_action checks. This because we in our dataset form doesn't want the third tab, "Additional Info".
/Tomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150217/5ca161c5/attachment-0002.html>
More information about the ckan-dev
mailing list