[ckan-dev] [scheming] add a helper function

Ian Ward ian at excess.org
Wed Jun 12 20:06:21 UTC 2019


I just updated the readme with a link to the clan docs, please open an
issue or PR on the ckanext-scheming repo if you thinking of any other
improvements.


https://github.com/ckan/ckanext-scheming/blob/master/README.md#choices_helper



On Wed, Jun 12, 2019, 3:56 PM Jean Pommier <jean.pommier at pi-geosolutions.fr>
wrote:

> Hi,
>
> in the scheming extension's doc, I can read
>
> "If a choices list is not provided you must provide a choices_helper
> function that will return a list of choices in the same format as the
> choices list above.
>
> You may register your own helper function"
>
> I'd like to do exactly that : provide my own datastore_choices_resource
> function. But how can I do it ? I mean, I suppose it must be available
> through the scheming get_helpers function, so how to register my own
> function ?
>
> Thanks in advance,
>
> Best,
>
> Jean
>
> --
>
> *Jean Pommier -- pi-Geosolutions*
>
> Ingénieur, consultant indépendant
>
> Tél. : (+33) 6 09 23 21 36
> E-mail : jp at pi-geosolutions.fr
> Web : www.pi-geosolutions.fr
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190612/2040a89c/attachment-0002.html>


More information about the ckan-dev mailing list