Skip to main content

App that add functionality to track model object versions for any other Django application.

Project description

This is a Django app that add functionality to track model object versions for any other Django application

Detailed documentation is in the “docs” directory.

Quick start

  1. Add “version_control” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'version_control',
    )
    
  2. Add “version_control” middleware to middleware list in project settings:

    MIDDLEWARE = [
        ...
        'version_control.middleware.VersionControlMiddleware',
    ]
    
  3. Include the “version_control” URLconf in your project urls.py like this:

    path('version_control/', include('version_control.urls')),
    
  4. Setup project cache handler (Redis or another one).

  5. Register and setup “version_control” models in Django admin for use in project.

  6. Add class “AbstractVersionControl” to every model that must be tracked.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for btc-version-manager, version 0.4.1
Filename, size File type Python version Upload date Hashes
Filename, size btc_version_manager-0.4.1-py3-none-any.whl (33.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size btc-version-manager-0.4.1.tar.gz (24.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page