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.2.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.2-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitlab_releases-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d9d294249363bf2fc6636519ddb4b5e6054d61c7a341a945b130b5637c1e058a
MD5 fe5484603c257eae5bc5a2c9c1ddad46
BLAKE2b-256 171aca7ac72f0447f3331fa17d56e57fdd51536157b2b8eaa414251eab79adcd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitlab_releases-0.0.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for gitlab_releases-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7548441a679be6238816fde796d20365ab9946e2eb1570fa3b17e7003eebf5a7
MD5 32e207ceeaf657d598c8ea52fa0013ef
BLAKE2b-256 d910544c630c773d3d6054095f6c676361da2564c882f2243da2be038dbb1d87

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitlab_releases-0.0.2-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