Skip to main content

Create github/gitlab issues from a Django interface

Project description

Django Forge Issues

Create github/gitlab issues directly from a Django application.

Installation

pip install django-forge-issues[gitlab] or pip install django-forge-issues[github]

Then add DJANGO_FORGE_ISSUES to your INSTALLED_APPS and to your urls.py:

urlpatterns += [path("", include("django_forge_issues.urls"))]

This give you the urls django_forge_issues/create/<str:contenttype>/<int:pk> and django_forge_issues/list/<str:contenttype>/<int:pk> for creating resp. listing the urls.

Configuration

DJANGO_FORGE_ISSUES_PROJECT = "https://the.url.of/your/project"
DJANGO_FORGE_ISSUES_TOKEN = "secret-token"

For Gitlab projects, create the token in Project Settings -> Access tokens. Add a token that has the role Reporter and the api scope.

For Github projects, the token can be anything that can be used for authentication as described in the authentication examples of pygithub. So for example:

from github import Auth
DJANGO_FORGE_ISSUES_TOKEN = Auth("secret-token")

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

django_forge_issues-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

django_forge_issues-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file django_forge_issues-0.1.0.tar.gz.

File metadata

  • Download URL: django_forge_issues-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for django_forge_issues-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b44f3940662d8d6b83af93461e55b4b51d453b65a616d33131f23bc069c20902
MD5 c6b1f74cdfc934b9c5a4752e844e62ca
BLAKE2b-256 792a3402643b17329137768cf3109ae630b7fcf5c8390cd1dbc372e09fbbbeb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_forge_issues-0.1.0.tar.gz:

Publisher: publish.yml on acdh-oeaw/django-forge-issues

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_forge_issues-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_forge_issues-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7993e42ff7ba9ca1f84d8128bd6a8fa36f80be51200f62acf41e0fe68047830b
MD5 f03ad757fb08c8baa2dfb4d2a1dd7141
BLAKE2b-256 1cfcdea7c4a5c34e4d53818765136669dda19c01f70daaacd409f0916c8f0417

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_forge_issues-0.1.0-py3-none-any.whl:

Publisher: publish.yml on acdh-oeaw/django-forge-issues

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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