[CKAN-support] Action tag_create ignores display_name in dict

Carlos Quiros cquiros at qlands.com
Sun Apr 6 13:51:31 UTC 2014


Hi,

Im creating new tags with:

user = toolkit.get_action('get_site_user')({'ignore_auth': True}, {})
context = {'user': user['name']}

data = {'name': myTag, 'vocabulary_id': myVocab, 'display_name': "Carlos"}
toolkit.get_action('tag_create')(context, data)

However when I do a /api/3/action/vocabulary_list  the "display_name" is 
the same as "name"

Can you check if this is a bug?

Thanks,
Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ckan-support/attachments/20140406/d5ed582b/attachment-0002.html>


More information about the ckan-support mailing list