Extra tools to work with django-reversion
Project description
Extra tools to work with django-reversion
Documentation
The full documentation is at https://django-reversion-extras.readthedocs.org.
Quickstart
Install django-reversion-extras:
pip install django-reversion-extras
Then use it in a project:
from reversion_extras.views import DetailVersionListView, UpdateVersionListView
DetailVersionListView provides the same functionality as django.views.generic.DetailView
UpdateVersionListView provides the same functionality as django.views.generic.UpdateView
All inject in the template context some new variables:
object_versions_list: contains the list of django-reversion Versions of current model instance. The same value returned from reversion.get_for_object(model_instance)
model_name_versions_list: is a alias to object_versions_list
version_paginator version_page_obj version_is_paginated
Features
TODO:
Create ReversionView Create CompareVersionView
History
0.1.0 (2015-06-26)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-reversion-extras-0.0.2.tar.gz.
File metadata
- Download URL: django-reversion-extras-0.0.2.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab720994cbfa3bf2e6cf59fd44c6d1e4b49445d2617fa78e6b3bcce82fbb6d4b
|
|
| MD5 |
3ea55a93b8d2ee63de5a1931f60222b3
|
|
| BLAKE2b-256 |
5ffc1a9a227624416be86020e370353aca6e820f7f4a81aa4de4cc6f889359d1
|
File details
Details for the file django_reversion_extras-0.0.2-py2.py3-none-any.whl.
File metadata
- Download URL: django_reversion_extras-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4409dc977bd991e798b674163def6e3cc59141c5c73ef837d20881fb56b61de1
|
|
| MD5 |
10bd99fd346f0f6c66ba24f3a5c02661
|
|
| BLAKE2b-256 |
f95cba445ea7f94b5585772c2755e3ece0a5f444336f8c89147b67b88bf8373a
|