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.21.tar.gz
(39.8 kB
view details)
Built Distribution
File details
Details for the file oarepo_communities-5.0.21.tar.gz
.
File metadata
- Download URL: oarepo_communities-5.0.21.tar.gz
- Upload date:
- Size: 39.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 152924f15dbf7eb900e5b659a037bfa2e7428af07ab131b6bf0c24266fcaefef |
|
MD5 | 27055964f1790ee857b9f8821c5d2f68 |
|
BLAKE2b-256 | adcd528a6ddf0c866988003e9a61f08a74ff26e45c4acce47ee4b619757bf429 |
File details
Details for the file oarepo_communities-5.0.21-py3-none-any.whl
.
File metadata
- Download URL: oarepo_communities-5.0.21-py3-none-any.whl
- Upload date:
- Size: 65.0 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 | 626f6bae5e2116445f0085c8af7e9c71bc0df7d7f3cfa46ea2a967818d19dbb6 |
|
MD5 | 2da1870017d10f4b71a86731ac10e3b2 |
|
BLAKE2b-256 | a2319b5d852488625127ad73883652d944debe7e816f6e89d8bb0c805a4bbe3a |