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.22.tar.gz
(40.7 kB
view details)
Built Distribution
File details
Details for the file oarepo_communities-5.0.22.tar.gz
.
File metadata
- Download URL: oarepo_communities-5.0.22.tar.gz
- Upload date:
- Size: 40.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ab8b53a61413502562a9f7de964e5c17d81f50fabdfc1ce60ee2b6060d910eb |
|
MD5 | 6c52bcb9637ecf4127b3ce3e169e6e9a |
|
BLAKE2b-256 | 5535c0a50fd0437fe12c98a28de18de4cc49f304b1496fe7290547a1916e7fa2 |
File details
Details for the file oarepo_communities-5.0.22-py3-none-any.whl
.
File metadata
- Download URL: oarepo_communities-5.0.22-py3-none-any.whl
- Upload date:
- Size: 66.8 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 | 85b06dfb9f2d44df363dc4c4f06f90c49f9ed2e0190253b6b9210af0c504c94e |
|
MD5 | a1ffbc51a45457c88256e1d2252c4d17 |
|
BLAKE2b-256 | f1ae3ffeafff16d39236c5234be59166dc899180125c4ba5273aab991656bd03 |