## 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/.
Metadata
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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cmsplugin-diff-1.2.1.tar.gz | 27.7 kB | Without provenance | 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
|
Security for cmsplugin-diff 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.