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

Uploaded Source

Built Distribution

oarepo_communities-5.3.0-py3-none-any.whl (104.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oarepo_communities-5.3.0.tar.gz
  • Upload date:
  • Size: 61.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for oarepo_communities-5.3.0.tar.gz
Algorithm Hash digest
SHA256 4b4b34cfedcab44e2d27ad7bc86dab4ae56bea431212046b7d16e20205282515
MD5 3bb200ad14f8ca75db19733eebf1830f
BLAKE2b-256 c3026674643b2d48170acc60dac838248499b1a56514fb5de3e5615524856712

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oarepo_communities-5.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba2f3cb3f7bb9a7b1d2561872bb82132686df75fc201c13734a1b2acd45a0b96
MD5 7ba97b4ad55270f20108a9e267eb3d9a
BLAKE2b-256 3d22dd25ec0206af38ce71f624dd642f688675773fc4263d69515bc6a856878e

See more details on using hashes here.

Supported by

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