Skip to main content

Support for django-reversion on models with translatable fields and django-cms placeholder fields.

Project description

PyPI Version Build Status Coverage Status Code Climate Requirements Status

Description

A collection of shared helpers and mixins to provide support for django-reversion on models with translatable (using django-parler) fields and/or django-cms placeholder fields.

Note:

django-parler is optional and is not required. However, if your model is
translated with Parler, aldryn-reversion will take translations and the
resulting internal Parler translation cache into consideration when making
revisions.

Usage

Please refer to documentation.

Requirements

  • Python 2.6 or 2.7

  • Django 1.6, 1.7 or 1.8

  • django-reversion

Optional

  • django CMS 3.0.12 or later

  • django-parler

Installation

Most likely you won’t need to install this addon - it will be installed as a dependency for some other addon. If you do need to install it manually, follow these steps:

  1. Run pip install aldryn-reversion.

  2. Add below apps to INSTALLED_APPS:

    INSTALLED_APPS = [
        …
        'reversion',
        'aldryn_reversion',
        …
    ]
  3. (Re-)Start your application server.

More detailed installation guidance is also available.

Download files

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

Source Distribution

aldryn-reversion-1.0.7.tar.gz (25.9 kB view hashes)

Uploaded Source

Built Distribution

aldryn_reversion-1.0.7-py2.py3-none-any.whl (33.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page