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.16.tar.gz
(31.7 kB
view hashes)
Built Distribution
Close
Hashes for oarepo_communities-5.0.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d87f548b46e18e1360cc5c6cea05cdf5aff58eb0c33c498198e87983df3381b7 |
|
MD5 | d82e9eb462d350a85505bc5f28a15445 |
|
BLAKE2b-256 | 6590765bf38ef90e7c05df2d53e9bf8158ac34a9b13242668cc984ec32daf4b1 |
Close
Hashes for oarepo_communities-5.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 869e5181986b50a1ea635b76ad01e8e6ff0072284de8e507cb7fccbe22c619c6 |
|
MD5 | a8fabfbaf6542726fe5d799ca1b99a32 |
|
BLAKE2b-256 | 58e9a7b9afe61262205766d39c7ccdbbbd62001185df01cb48e9772c805b290d |