上载资源文件时限制fupload的ckan扩展名

ckanext-openformat的Python项目详细描述


……您应该在travis-ci.org和covertalls.io上启用此项目,以使这些徽章起作用。已经为您生成了必要的travis和coverage配置文件。图片::https://travis-ci.org/ericsnth/ckanext-openformat.svg?branch=master
:目标:https://travis ci.org/ericsnth/ckanext openformat

…图片::https://coveralls.io/repos/ericsnth/ckanext openformat/badge.svg
:目标:https://coveralls.io/r/ericsnth/ckanext openformat

图像::https://pypip.in/download/ckanext openformat/badge.svg
:目标:https://pypi.python.org/pypi//ckanext openformat/
:alt:downloads

……图片::https://pypip.in/version/ckanext openformat/badge.svg
:目标:https://pypi.python.org/pypi/ckanext openformat/
:alt:最新版本

图片::https://pypip.in/py_versions/ckanext openformat/badge.svg
:目标:https://pypi.python.org/pypi/ckanext openformat/
:alt:支持的python版本

…图像::https://pypip.in/status/ckanext openformat/badge.svg
:目标:https://pypi.python.org/pypi/ckanext openformat/
:alt:开发状态

图像::https://pypip.in/license/ckanext openformat/badge.svg
:目标:https://pypi.python.org/pypi/ckanext openformat/
:alt:license

===
===
=-
-
-
-
-
向下面的列表中添加任何其他安装步骤。
例如安装任何非python依赖项或添加任何必需的配置设置。


要安装ckanext openformat:

1。激活您的CKAN虚拟环境,例如::

。/usr/lib/ckan/default/bin/activate

>2。将ckanext openformat python包安装到虚拟环境中::


3。将“openformat”添加到ckan
配置文件中的“ckan.plugins”设置(默认配置文件位于
`/etc/ckan/default/production.ini```)。

4.重启ckan。例如,如果您在ubuntu上使用apache部署了ckan::




-
config settings
-
-
configure/etc/ckan/default/production.ini使用此配置:

docx pdf xml json)
ericsnth.ckan.file_extension_allowed=csv xls xlsx doc docx pdf xml json


=--
激活您的ckan virtualenv并执行以下操作:

cd ckanext openformat
python setup.py develop
pip install-r dev requirements.txt|https://www.linkedin.com/in/ericsnth


后台程序员satu data indonesia,kantor staf presiden ri

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何将cassandra中的行数据转换为与列相关的嵌套json   java如何使用jcr XPath在jcr:content/@jcr:data中搜索?   java在使用openCV进行安卓开发时如何利用手机的广角镜头   java解析扩展了接口,结束了一个潜在的无限循环   位置服务的@Override方法中存在java Android应用程序错误   java本地线程的用途和需求是什么   具有左右子访问的java节点树遍历   java验证JsonWebToken签名   JUL日志处理程序中的java日志记录   嵌入式Java读取给定时间段的串行数据。   java有没有办法从多个URL获取多个图像?   java线程通过等待intent阻止自己发送intent   java Spring MVC解析多部分内容请求   java JPA/Hibernate静态元模型属性未填充NullPointerException   java格式错误的字符(需要引号,得到I)~正在处理   java为什么PrintWriter对象抛出FileNotFoundException?   java Neo4j未正确保存标签   java IE不加载图像