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.18.tar.gz
(32.7 kB
view hashes)
Built Distribution
Close
Hashes for oarepo_communities-5.0.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f53261a2e5a424ab6b717f895a88b3df86317f03bf38147d39d100475ee60ad |
|
MD5 | d0079eb91de3e3f894121c3831889f46 |
|
BLAKE2b-256 | 6e06772d1d496e6861b8c4b29c2d6dd20917025b4d5b605b9ec0534560f4ec09 |
Close
Hashes for oarepo_communities-5.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b20ecb4d46cc9652bd749cd2ccc2bd4bc3376054a91136402ec9417838ce861 |
|
MD5 | feb1f54a165fe2ed43083d77e92cb329 |
|
BLAKE2b-256 | 78da4faf5c96fa81855aa27420410b27dea0566fdf7aac3499f36380e67b0d0d |