exolever / django-changelog

Managing changes during release time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-changelog

Requirements Status

Manage changelog as migrations

Documentation

We have two commands, similar to Django Migrations, code based on it. One command creates an empty file ready for write our python code for the change (as a template file with some basic dependencies). We can include commands call or query using our django models.

We manage dependencies between changes at the same way that Django does. And also, we can manage conflicts through merging.

We only have two operations developed: RunPython and RunSQL (both of them, without parameters) When you want to apply for changes, please execute applychange with/without app_label. You will see messages similar to migrations.

Quickstart

Install django-changelog:

`pip install exo-changelog`

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'exo_changelog.apps.ExoChangelogConfig',
    ...
)

Create the changelog table: ./manage.py migrate exo_changelog

Features

  • Create an empty change: ./manage.py makechange <app_name>
  • Execute changes: ./manage.py applychange <app_name>

Credits

Tools used in rendering this package:

About

Managing changes during release time

License:Other


Languages

Language:Python 97.0%Language:Makefile 1.8%Language:HTML 0.8%Language:Dockerfile 0.4%