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.23.tar.gz
(41.5 kB
view details)
Built Distribution
File details
Details for the file oarepo_communities-5.0.23.tar.gz
.
File metadata
- Download URL: oarepo_communities-5.0.23.tar.gz
- Upload date:
- Size: 41.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d547ea21a5628380cb5e94db43f7cd96ab545561930b60e82d1102828d01998b |
|
MD5 | 8842e99939247778a8bece66661969ce |
|
BLAKE2b-256 | 02ef44e14bf9b339e57a68144f377caa1617522c5d6206650f3fd52fc27d95b4 |
File details
Details for the file oarepo_communities-5.0.23-py3-none-any.whl
.
File metadata
- Download URL: oarepo_communities-5.0.23-py3-none-any.whl
- Upload date:
- Size: 68.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0654ba4ae8abfdf3923f6a9e68c40f3153e5c27d2c90138df28f9a7f5bd89f2 |
|
MD5 | c8dde7e366146c49021475f24dbc4611 |
|
BLAKE2b-256 | 695d3f23603e95459aae343094ce62563d1f406e8eb58ca310ec13ae005dc9ab |