A Django app for managing release notes/ change logs for your project.
Project description
change-logs-django
change-logs-django
is a simple Django package to create a changelogs page for your application. It provides an easy way to manage and display changelogs with versioning.
Installation
-
Install the package:
pip install change-logs-django
-
Add
change_logs
toINSTALLED_APPS
in yoursettings.py
:INSTALLED_APPS = [ # other apps 'change_logs', ]
-
Include the
change_logs
URLs in yoururls.py
:from change_logs.urls import urlpatterns as change_logs_urls ... ... urlpatterns += change_logs_urls
-
Run migrations
python manage.py migrate
This will create two tables in the Django admin panel:
Tags
andChangeLog
. -
After completing the steps, you can access your changelogs at:
yourdomain.com/change-logs
: Displays the list of changelogs.yourdomain.com/change-logs/v<version>
: Displays detailed logs for the specific version.
Configuration
To configure the number of changelogs displayed per page, add the following setting in your settings.py
file:
CHANGE_LOGS_PER_PAGE = 10 # Change as needed
Usage
After setup, you can manage your changelogs via the Django admin panel. Add, edit, or delete entries as needed, and they will be automatically reflected on the public changelogs page.
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
Built Distribution
File details
Details for the file change_logs_django-1.0.2.tar.gz
.
File metadata
- Download URL: change_logs_django-1.0.2.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1d6166db5437174042b1de0ac10a9d9162d66aa8ccc0b8cd051f116363b420b |
|
MD5 | de5cc21371338b200dee8774a2a9b199 |
|
BLAKE2b-256 | 3a27c9dd7c6859b3de114a75dd0dc6366035447282938d41082f14c576b41b1b |
File details
Details for the file change_logs_django-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: change_logs_django-1.0.2-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68fadda058337c1d49cf4f2695cf5463def70a9275a60b30a354458ae128b7af |
|
MD5 | 2853e3a542c40d225595f290b0a16958 |
|
BLAKE2b-256 | e8cd981696e0d0a88032f0e86aaa8cb8839b495ae17e14e41fed5891ef57a97d |