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
multiuploadform
to theckan.plugins
setting 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 reload
Note: you have to set the max resource size in ckan configuration (/etc/ckan/default/ckan.ini
)
ckan.max_resource_size
To 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.txt
To run the tests, do:
pytest --ckan-ini=test.ini
The authors would like to thank the developers of the original project https://github.com/TIBHannover/ckanext-multiuploadform.