Skip to content

A Django app for managing release notes/ change logs for your project.

License

Notifications You must be signed in to change notification settings

OmerBhatti/change-logs-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Install the package:

    pip install change-logs-django
  2. Add change_logs to INSTALLED_APPS in your settings.py:

     INSTALLED_APPS = [
         # other apps
         'change_logs',
     ]
  3. Include the change_logs URLs in your urls.py:

    from change_logs.urls import urlpatterns as change_logs_urls
    
    ...
    ...
    
    urlpatterns += change_logs_urls
  4. Run migrations

    python manage.py migrate

    This will create two tables in the Django admin panel: Tags and ChangeLog.

  5. 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.

About

A Django app for managing release notes/ change logs for your project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published