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-4.0.9.tar.gz
(13.5 kB
view hashes)
Built Distribution
Close
Hashes for oarepo_communities-4.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d95432f0c202140e953c0b78e4033f714c81747b2e4d8b1436ce98716e7f2c8 |
|
MD5 | 1586a367bd484738a3d77431cb84d1ad |
|
BLAKE2b-256 | 7fb5344b8afd7c69e4d0c338a3ab77912356f7ff08b0252d60d731dc4e7ee160 |