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.15.tar.gz
(30.7 kB
view hashes)
Built Distribution
Close
Hashes for oarepo_communities-5.0.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c201c493863e45ecffe5e9af6007da0e06fb29cf5019a9c39d2efc59e18ee268 |
|
MD5 | 738565e7fa0a8171df2eedf5ead1a165 |
|
BLAKE2b-256 | b0db90f4b624b431cdf6e96ca50d7b4464a7b17e6b9bcaf94a0ab23f0a4b7dfb |
Close
Hashes for oarepo_communities-5.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b09d7ce5ec8b75f5af0b61614994da1a62929d46d44e19627ec8f4306d1b3111 |
|
MD5 | 5346108e29cd347fbe41cae7c1dbbcfe |
|
BLAKE2b-256 | 1b5777b3e26367b9c0ac6faabcf8f6fc0804aae0ab49e98bbe5cde1ca430ce56 |