Skip to main content

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.19.tar.gz (39.6 kB view details)

Uploaded Source

Built Distribution

oarepo_communities-5.0.19-py3-none-any.whl (64.7 kB view details)

Uploaded Python 3

File details

Details for the file oarepo_communities-5.0.19.tar.gz.

File metadata

  • Download URL: oarepo_communities-5.0.19.tar.gz
  • Upload date:
  • Size: 39.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for oarepo_communities-5.0.19.tar.gz
Algorithm Hash digest
SHA256 149a50713ff563d5c966c9f6f18f0cc7113e7797594eac7670b248656d7630c2
MD5 b2a96f980e0dfcd40d72693287d5b194
BLAKE2b-256 6e012964881322346b53fc6783ee1c329ca0415493ba717511a0d140607cc004

See more details on using hashes here.

File details

Details for the file oarepo_communities-5.0.19-py3-none-any.whl.

File metadata

File hashes

Hashes for oarepo_communities-5.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 b6eed6af695061be1b0f4ff21ef16b58a7a678bffd6384a30b4b09a4887d513a
MD5 392b1bef04aed553af763bc26f5d65bc
BLAKE2b-256 735a5808c5554e3e4bd71efc81a5110a8cbf213406499de553617b7a48e7d4d7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page