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.13.tar.gz
(13.4 kB
view hashes)
Built Distribution
Close
Hashes for oarepo-communities-4.0.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 128997e4aed7bad1b73c65deb4de331d3c5752c6dcc931c5072c581f28beb344 |
|
MD5 | d8593b079cdbbd706d8160d24875be28 |
|
BLAKE2b-256 | f72f61c1b9d63f63d9fc0a0446da208a8b05a3ae7c85ea56a293d04572649476 |
Close
Hashes for oarepo_communities-4.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2760b1776531401a3328cfa77db616c3c69584e7713988168d1e45fabad4e450 |
|
MD5 | bd2c6e52c106e3a33e205d3d2d2ecf9a |
|
BLAKE2b-256 | 23943de7e02a8466ca0c853ab911414c927903ff27311821162c5d14869dc25f |