Skip to main content

An application that adds 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.5.0
Filename, size File type Python version Upload date Hashes
Filename, size btc-version-manager-0.5.0.tar.gz (25.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page