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

Uploaded Source

Built Distribution

oarepo_communities-5.0.24-py3-none-any.whl (68.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oarepo_communities-5.0.24.tar.gz
  • Upload date:
  • Size: 41.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.24.tar.gz
Algorithm Hash digest
SHA256 5cd029d0d95194aa83365e9cdbd8160f9182d74eb5c1847497bfc10b704ea344
MD5 0804043fca730927964539e7acc22653
BLAKE2b-256 adebc6e10888095836def5aaeb951d6e3d92d6b66cf6949830254086b1337c22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oarepo_communities-5.0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 d2b40290b3fabdcd5cb86d55815f1edfad734e4c933f6762b10a5767d1da5c9a
MD5 eaed0f7a175043d59e4a6f059985d60e
BLAKE2b-256 bb8ae609791eea804867e4f468fd28d6dd540eee3bb67a9520ca91b954c5ea20

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