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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: oarepo_communities-5.0.20.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.20.tar.gz
Algorithm Hash digest
SHA256 88305b6778ec4b58b689764bb7f38c6bdc6ac445dde163607d1db7cbe8eae36b
MD5 7fd0faa79dfc3c445832bb36cf5c4c82
BLAKE2b-256 bf6f12b71f0602e8027f944268557aca8f7bd831f188371131e971b3bfa779f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oarepo_communities-5.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 e214bf20f2dd37db0d4e506e6e9d13a5a1d9b7a1b0d0636d53cae84da2a3ff00
MD5 01c4b1de538c345608c3b3ba376643f9
BLAKE2b-256 fd18f473461be604798abbc5b569069e849cb527c7edfbf22e72b9b3b08cf17e

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