Skip to main content

Dalec plugin to retrieve openproject data

Project description

🔗 dalec-openproject

Stable Version Code style: black Imports: isort semver

Django Aggregate a Lot of External Content -- OpenProject

Aggregate last work packages from a given OpenProject instance.

Plugin of 🤖 dalec.

Installation

pip install dalec_openproject

In django settings INSTALLED_APPS, add:

INSTALLED_APPS = [
    ...
    "dalec",
    "dalec_prime",
    "dalec_openproject",
    ...
    ]

Usage

General usage:

{% load dalec %}

{% dalec "openproject" content_type [channel=None] [channel_object=None] [template=None] %}

Real examples:

Work packages

Retrieves latest work packages of a project defined by its identifier (i.e. slug):

{% dalec "openproject" "work_package" channel="project" channel_object="project-identifier"%}

Settings

Django settings must define:

  • DALEC_OPENPROJECT_BASE_URL : OpenProject instance url (ex: https://openproject.org/)
  • DALEC_OPENPROJECT_API_KEY : OpenProject api key (ex: admazerazerazerazerazer)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dalec-openproject-0.1.0.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

dalec_openproject-0.1.0-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

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