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.4.tar.gz
(16.6 kB
view hashes)
Built Distribution
Close
Hashes for oarepo_communities-5.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f69511b4c0768585514b24845d79ada9c1a5ecdd35f1dbf60e2762ebcf85b86 |
|
MD5 | 46537cab77b80cf983323e85258f16ce |
|
BLAKE2b-256 | 21bd7a26199ee8bc2fadb808a80bda5462450aec933b1cefcde431a6c9451247 |