This CKAN extension helps users to upload multiple resources at once with drag&drop. It adds an extra form for uploadig multiple files and leaves the vanilla one untouched.
Compatibility with core CKAN versions:
| CKAN version | Compatible? |
|---|---|
| 2.9 and arlier | not tested |
| 2.10 | yes |
| 2.11 | yes |
- "yes"
- "not tested" - I can't think of a reason why it wouldn't work
- "not yet" - there is an intention to get it working
- "no"
To install the extension:
- Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate- Use pip to install package
pip install ckanext-multiuploadform-
Add
multiuploadformto theckan.pluginssetting in your CKAN config file (by default the config file is located at/etc/ckan/default/ckan.ini). -
Restart CKAN. For example, if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reloadNote: you have to set the max resource size in ckan configuration (/etc/ckan/default/ckan.ini)
ckan.max_resource_sizeTo install ckanext-multiuploadform for development, activate your CKAN virtualenv and do:
git clone https://github.com/Mat-O-Lab/ckanext-multiuploadform.git
cd ckanext-multiuploadform
python setup.py develop
pip install -r dev-requirements.txtTo run the tests, do:
pytest --ckan-ini=test.iniThe authors would like to thank the developers of the original project https://github.com/TIBHannover/ckanext-multiuploadform.