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.10.tar.gz (13.3 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.10-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for oarepo-communities-4.0.10.tar.gz
Algorithm Hash digest
SHA256 aa95f0ff12f8a4388ebf17dbe07926df205b3758900df45d4c3c6d53eb1941f4
MD5 0e0cc2bcd6fd99bf65667fd952a4e8b9
BLAKE2b-256 e9c80b8a4e6bce28517d222df6408b31112d659caef756c3ea95ccc1bc2316d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oarepo_communities-4.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 6b8ca99542ca2be3ea43b970ee37892ccaf5452a8cb5fee71c328a27e42cd166
MD5 416946809d5af9f5e2799eeba77a10a4
BLAKE2b-256 befbdbf4710fa520c546bdd8f564b7f92a751a093afaebcd9f61e5d8021d7663

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