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

Uploaded Source

Built Distribution

oarepo_communities-5.1.0-py3-none-any.whl (68.9 kB view details)

Uploaded Python 3

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

Hashes for oarepo_communities-5.1.0.tar.gz
Algorithm Hash digest
SHA256 d1f05b5bd82254a96bafe3c662f8d8d03b104196f9a3d1a975f8cb74de540dc1
MD5 5b7a177a6b29c816a153ef27ad2c7c08
BLAKE2b-256 89b646ee3bd12140a5d713b0ecdf53ad862b4fa7b043eb6506d85ddb6a186d53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oarepo_communities-5.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc97bf4be38b25c16149a963da8894365b43757af17ff69f335b6faf0d98f7d0
MD5 abc96155bc83acb4c10174761cf9710f
BLAKE2b-256 9705d0aa7beb5241c3e50ffd1a2f6448d9a3c2e3163aa6c2f3d6061e7c9ef8d0

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