Skip to main content

django-changelog

https://badge.fury.io/py/exo-changelog.svg Requirements Status https://travis-ci.org/exolever/django-changelog.svg https://codecov.io/gh/exolever/django-changelog/branch/master/graph/badge.svg

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:

History

0.1.0 (2018-08-28)

  • First release on PyPI.

Metadata

Release files for exo-changelog 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for exo-changelog 0.1.7
File Size Uploaded
exo-changelog-0.1.7.tar.gz 26.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for exo-changelog 0.1.7
File Interpreter ABI Platform
exo_changelog-0.1.7-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 57.6 kB

Release files / exo-changelog-0.1.7.tar.gz

Download URL exo-changelog-0.1.7.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
702d1156cb67ca6e59c2ed53e19e1a88e6e0b31439c65ed763a534a2f823f15d
BLAKE2b-256 checksum
How to use checksums
10959c8f1601f8775bbfafdbdaaad9d915d5cdb0008d77d390f54d9779912543
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.7

Release files / exo_changelog-0.1.7-py2.py3-none-any.whl

Download URL exo_changelog-0.1.7-py2.py3-none-any.whl
Size 31.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
22ddf74be5f5e12a3faad338c102c711be53f9d5b99c873bfd86a40853560a19
BLAKE2b-256 checksum
How to use checksums
a0894645ef49396aeac9abe99fa73888768c8c1cd6c4ff8cbb2895ede341a260
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page