简体   繁体   English

如何在CKAN数据集中添加自定义字段

[英]How to add Custom Fields in CKAN dataset

I have tried to add extrafield extension in CKAN.but while I am adding 我试图在CKAN.but添加域外扩展名, CKAN.but在添加时

ckan.plugin = extrafields

I am getting error such as: 我收到如下错误:

ckan.plugins.core.PluginNotFoundException: extrafields ckan.plugins.core.PluginNotFoundException:Extrafields

also I have used this Ckanext extrafields 我也用过这个Ckanext Extrafields

Anyone can help me to resolve this problem. 任何人都可以帮助我解决此问题。

You need to make sure the extension is installed. 您需要确保已安装扩展。

Make sure you are in your virtualenv, and then do to the ckanext-extrafields directory and do: 确保您在virtualenv中,然后对ckanext-extrafields目录执行以下操作:

python setup.py install

or if you're doing development 或者如果您正在开发

python setup.py develop

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM