No project description provided
Project description
OARepo communities
Installation
To init custom fields, add them under COMMUNITIES_CUSTOM_FIELDS key to invenio.cfg, for example
from oarepo_communities.cf.permissions import PermissionsCF
from oarepo_communities.cf.aai import AAIMappingCF
COMMUNITIES_CUSTOM_FIELDS = [PermissionsCF("permissions"), AAIMappingCF("aai")]
COMMUNITIES_CUSTOM_FIELDS_UI = [{
"section": "settings",
"fields": [{
"field": "permissions",
"ui_widget": "Input",
"props": {
"label":"permissions dict",
}
}]
}]
and the init cli command: invenio communities custom-fields init
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
oarepo_communities-5.0.14.tar.gz
(30.6 kB
view hashes)
Built Distribution
Close
Hashes for oarepo_communities-5.0.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33895668f1455eb3646a4165c9c2cc2843822a75313edf4d6426c23bc146429c |
|
MD5 | c3dec035ac6e39bf4505abafa257c5e7 |
|
BLAKE2b-256 | 8b1780e547a9f72767468fcff2ac2af859136d13c4b3f1ed1267fdea8ada4f30 |
Close
Hashes for oarepo_communities-5.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f41d9a9e59ab04111a85f781178fa6dbd4685e67634b5b4f3bba98f9344af94 |
|
MD5 | f4300f9b95bee8a68b682734c88169f2 |
|
BLAKE2b-256 | 085b578b8c43e3fd9063e255e5746efaa674c14755c738d5033d3bd7d463c17d |