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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oarepo_communities-4.0.12-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file oarepo-communities-4.0.12.tar.gz.

File metadata

  • Download URL: oarepo-communities-4.0.12.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for oarepo-communities-4.0.12.tar.gz
Algorithm Hash digest
SHA256 ed05d40b70c388e6be6011bdda6751f4c9ec9495be8adc5a971a4e84ed1de129
MD5 c139fc63400f22e0ae9f15822ded71a3
BLAKE2b-256 6171eb6c14f04535f2d5be6d1c6aa400c8071c4d7a21922ed9d55f188c191cff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oarepo_communities-4.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 961ae16e9a8bc81e0245b7b27e71be266ba464c8418e3939e7c63f9303a1c3ef
MD5 9dde185b00f9aeb9b88c66cdedeaf5aa
BLAKE2b-256 6e4a66ab6b5ca8967ad654c7d0b25a25f8de3abaf85c0bb095bd9b67e2125227

See more details on using hashes here.

Supported by

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