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, the DJANGO_FORGE_ISSUES_PROJECT must not be the web URL to the project but the hostname of the instance and the ID of the project. You can find the project ID in Settings -> General of your project. So the variable coul look like https://gitlab.example.org/134 where gitlab.example.org is the instance hostname and 134 is the project ID.

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, create the token in Settings -> Developer Settings -> Personal Access tokens.

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.2.0.tar.gz (3.5 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.2.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_forge_issues-0.2.0.tar.gz
  • Upload date:
  • Size: 3.5 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.2.0.tar.gz
Algorithm Hash digest
SHA256 45c168a8f2227875750b0dacce1cff44fff9efb15a9e524ac247e5eecd934897
MD5 396447f39a6c24e54ccb876df824a195
BLAKE2b-256 0e6d3970c5dafcd8f00f0debd97984e8a5f126ae9459b52a42429562cefbba79

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_forge_issues-0.2.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.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_forge_issues-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af282b098c39d75560d1c7dda258ddc0d28fde7b1119aff6f2c0f3cf1107d2ab
MD5 ded2583b584e28331f9b6b13539ebb7d
BLAKE2b-256 34b38432acaf36b27f1a11406cf2d87f7693cc0177ea95389e11c2b6531ae367

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_forge_issues-0.2.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