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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oarepo-communities-4.0.10.tar.gz.
File metadata
- Download URL: oarepo-communities-4.0.10.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa95f0ff12f8a4388ebf17dbe07926df205b3758900df45d4c3c6d53eb1941f4
|
|
| MD5 |
0e0cc2bcd6fd99bf65667fd952a4e8b9
|
|
| BLAKE2b-256 |
e9c80b8a4e6bce28517d222df6408b31112d659caef756c3ea95ccc1bc2316d9
|
File details
Details for the file oarepo_communities-4.0.10-py3-none-any.whl.
File metadata
- Download URL: oarepo_communities-4.0.10-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b8ca99542ca2be3ea43b970ee37892ccaf5452a8cb5fee71c328a27e42cd166
|
|
| MD5 |
416946809d5af9f5e2799eeba77a10a4
|
|
| BLAKE2b-256 |
befbdbf4710fa520c546bdd8f564b7f92a751a093afaebcd9f61e5d8021d7663
|