ckanext-useraffiliation
This CKAN extension adds:
- job title; and
- affiliation
to the CKAN user schema displaying these fields in:
- registration form;
- user edit form; and
- user profile tile.
Requirements
This extension is tested with CKAN 2.9 for python3 only.
Installation
To install ckanext-useraffiliation:
- Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
- Install the ckanext-useraffiliation Python package into your virtual environment:
pip install ckanext-useraffiliation
Add useraffiliation to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).
Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
Configuration
Ensure you have read and completed step 4 of the Installation section above. This step is essential CKAN configuration required for this plugin to work.
There are no configuration options for this plugin.
Running the Tests
To run the tests, do:
pytest --ckan-ini=test.ini
With thanks…
This extension has been built by Fjelltopp with funding from UNAIDS as part of the AIDS Data Repository project: https://adr.unaids.org