Skip to main content

Gitlab Releases for Django projects

Project description

gitlab-releases

License Build Status Coverage PyPI Python Versions Django Versions

Short Description

gitlab-releases provides a release page and changelog integration for your Django project, making it easy to display your releases if you manage them using GitLab releases feature.

Main Features

  • Display a list of releases from your GitLab repository
  • Show detailed changelog for each release
  • Integrate release data into your Django templates
  • Simple configuration and setup

Get Started

Installation

pip install gitlab-releases

Quick Start Example

Add gitlab_releases to your INSTALLED_APPS in settings.py:

INSTALLED_APPS = [
    # ...existing apps...
    'gitlab_releases',
]

Include the app's URLs in your urls.py:

from django.urls import path, include

urlpatterns = [
    # ...existing urls...
    path('releases/', include('gitlab_releases.urls')),
]

How to Use the Package or Django App

After installation and configuration, visit /releases/ in your Django project to see the list of releases fetched from your GitLab repository. You can customize the templates or use the provided template tags in your own templates:

{% load gitlab_releases_filters %}
{% for release in releases %}
    <h2>{{ release.title }}</h2>
    <div>{{ release.description|markdown }}</div>
{% endfor %}

Useful Links

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

gitlab_releases-0.0.3.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

gitlab_releases-0.0.3-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file gitlab_releases-0.0.3.tar.gz.

File metadata

  • Download URL: gitlab_releases-0.0.3.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gitlab_releases-0.0.3.tar.gz
Algorithm Hash digest
SHA256 feec07b60813c2be3e7270756c58587e017ddb3bb57051d07775855e9b63bd54
MD5 c20b8e1631a0b46e7e6aacfca2592a12
BLAKE2b-256 26912182ab1edfa6ac23efc4af7f255ed24262e66689fc1f3096726bca44da5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitlab_releases-0.0.3.tar.gz:

Publisher: release.yml on valbertovc/gitlab-releases

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

File details

Details for the file gitlab_releases-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for gitlab_releases-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 10ad549202fac1430422a5283f0049b2e1f947ff1a6475bdcd854b6c9cf0e4e0
MD5 a6dbbc8827338e362b2f1d4a54ed62f1
BLAKE2b-256 ca8e4873d8fabe6206359e093e944f7a986790cf529ada2d7ccc201c971e05b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitlab_releases-0.0.3-py3-none-any.whl:

Publisher: release.yml on valbertovc/gitlab-releases

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