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.6.tar.gz
(12.8 kB
view hashes)
Built Distribution
Close
Hashes for oarepo_communities-4.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 832dbdf5d03201164323a40e5aa05c2d2ea3ee5e0c83c131a4c85272704904c9 |
|
MD5 | 81f9bdc8242ad56519461a962f8511b7 |
|
BLAKE2b-256 | 10c8767bdeac709d7d213d8f8b68ab1d7faa4fad6e276afb9eff98c24eb3d85a |