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.1.0.tar.gz
(41.7 kB
view details)
Built Distribution
File details
Details for the file oarepo_communities-5.1.0.tar.gz
.
File metadata
- Download URL: oarepo_communities-5.1.0.tar.gz
- Upload date:
- Size: 41.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 | d1f05b5bd82254a96bafe3c662f8d8d03b104196f9a3d1a975f8cb74de540dc1 |
|
MD5 | 5b7a177a6b29c816a153ef27ad2c7c08 |
|
BLAKE2b-256 | 89b646ee3bd12140a5d713b0ecdf53ad862b4fa7b043eb6506d85ddb6a186d53 |
File details
Details for the file oarepo_communities-5.1.0-py3-none-any.whl
.
File metadata
- Download URL: oarepo_communities-5.1.0-py3-none-any.whl
- Upload date:
- Size: 68.9 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 | fc97bf4be38b25c16149a963da8894365b43757af17ff69f335b6faf0d98f7d0 |
|
MD5 | abc96155bc83acb4c10174761cf9710f |
|
BLAKE2b-256 | 9705d0aa7beb5241c3e50ffd1a2f6448d9a3c2e3163aa6c2f3d6061e7c9ef8d0 |