Skip to main content
# django-cmsplugin-diff

## What does it do?

Provides a history of changes, when plugins were edited, by who, when pages
are published and by who. It tracks the languages of each and provides a diff
showing what changed in both a field based view and a body based view.

This plugin is in development and is considered BETA, please test and report issues.

## Demonstration

To set up the demonstration on your local machine, you can::

```
git clone https://github.com/doctormo/django-cmsplugin-diff

cd django-cmsplugin-diff

./setup.py demo
```

Then visit the generated website as instructed.

## Installation

```
pip install cmsplugin-diff
```

Add the plugin to your site's settings.py, making sure it goes BEFORE `cms` or the templates will not over-ride as expected::

```
INSTALLED_APPS = (
'django.contrib.humanize',
...
'cmsplugin_diff',
'cms',
...
)
```

Add the comment middleware, this allows us to record the user_id and the comment when editing plugins::

```
MIDDLEWARE = [
...
'cmsplugin_diff.middleware.EditCommentMiddleware',
...
]
```

Add the urls to your urls.py::

```
urlpatterns += i18n_patterns(
...
url(r'^diff/', include('cmsplugin_diff.urls', namespace='cmsplugin_diff')),
...
)
```

## Issues

Please submit issues and merge requests at GitHub issues tracker: https://github.com/doctormo/django-cmsplugin-diff/issues/.

Release files for cmsplugin-diff 1.2.1

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

Source distribution (sdist)

Source distribution for cmsplugin-diff 1.2.1
File Size Uploaded
cmsplugin-diff-1.2.1.tar.gz 27.7 kB Details

Release files / cmsplugin-diff-1.2.1.tar.gz

Download URL cmsplugin-diff-1.2.1.tar.gz
Size 27.7 kB
Tags Source
SHA-256 checksum
How to use checksums
efe4e993c8a18667032d08f6f96381237254a845a5bd51302de3bf2d5a3d76f0
BLAKE2b-256 checksum
How to use checksums
7f7a23e082f2dcd5c2c298cf2cc94134eccc6c7784a87b66149c573bd2df3a68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Release history Release notifications | RSS feed

2.0.0

2 release files

1.2.5

1 release file

1.2.4

1 release file

1.2.3

1 release file

1.2.2

1 release file

This release

1.2.1 This release

1 release file

1.2

1 release file

1.1.1

1 release file

1.1

1 release file

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