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.10.tar.gz
(13.3 kB
view hashes)
Built Distribution
Close
Hashes for oarepo-communities-4.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa95f0ff12f8a4388ebf17dbe07926df205b3758900df45d4c3c6d53eb1941f4 |
|
MD5 | 0e0cc2bcd6fd99bf65667fd952a4e8b9 |
|
BLAKE2b-256 | e9c80b8a4e6bce28517d222df6408b31112d659caef756c3ea95ccc1bc2316d9 |
Close
Hashes for oarepo_communities-4.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b8ca99542ca2be3ea43b970ee37892ccaf5452a8cb5fee71c328a27e42cd166 |
|
MD5 | 416946809d5af9f5e2799eeba77a10a4 |
|
BLAKE2b-256 | befbdbf4710fa520c546bdd8f564b7f92a751a093afaebcd9f61e5d8021d7663 |