#django-old-new-history
========================
**django-old-new-history** is customize history feature which is used to show the old and new value of model's change field in history action of admin panel.
------------
Requirements
------------
- Python 3.7 or later
- Django 2.0 or later
------------
Features
------------
- Customize history.
- Display old and new value of model's change field.
- Simple admin integration.
------------
Installation
------------
Just use:
::
pip install django-old-new-history
Setup
=====
Add **django_old_new_history** to **INSTALLED_APPS** in your settings.py, e.g.:
::
INSTALLED_APPS = [
...
'django_old_new_history',
...
Usage
=====
Inherit from **DjangoOldNewHistory** to get the custom history feature.
admin.py e.g.:
::
from django.contrib import admin
from .models import ExampleModel
from django_old_new_history.admin import DjangoOldNewHistory
@admin.register(ExampleModel)
class ExampleModelAdmin(DjangoOldNewHistory, admin.ModelAdmin):
...
Screenshot
=====
Here is screenshot of django-old-new-history
![alt text](https://raw.githubusercontent.com/mayur-softices/djnago-customize-history/main/docs/_static/Change-history-CrudUser-object-5-Django-site-admin.png)
Raw data
{
"_id": null,
"home_page": "https://github.com/Softices/django-old-new-history",
"name": "django-old-new-history",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Django Old New History",
"author": "Mayur Ariwala",
"author_email": "mayur@softices.com",
"download_url": "https://files.pythonhosted.org/packages/e1/d9/45541c9f4cf78352298ab995599163860d2633feeb906217e8b3d0d070d0/django-old-new-history-1.0.3.tar.gz",
"platform": null,
"description": "#django-old-new-history\n========================\n\n**django-old-new-history** is customize history feature which is used to show the old and new value of model's change field in history action of admin panel.\n\n------------\nRequirements\n------------\n\n- Python 3.7 or later\n- Django 2.0 or later\n\n------------\nFeatures\n------------\n\n- Customize history.\n- Display old and new value of model's change field.\n- Simple admin integration.\n\n\n------------\nInstallation\n------------\n\nJust use:\n\n::\n\n pip install django-old-new-history\n\nSetup\n=====\n\nAdd **django_old_new_history** to **INSTALLED_APPS** in your settings.py, e.g.:\n\n::\n\n INSTALLED_APPS = [\n ...\n 'django_old_new_history',\n ...\n\n\nUsage\n=====\n\nInherit from **DjangoOldNewHistory** to get the custom history feature.\n\nadmin.py e.g.:\n\n::\n\n\n from django.contrib import admin\n from .models import ExampleModel\n from django_old_new_history.admin import DjangoOldNewHistory\n\n @admin.register(ExampleModel)\n class ExampleModelAdmin(DjangoOldNewHistory, admin.ModelAdmin):\n ...\n\nScreenshot\n=====\nHere is screenshot of django-old-new-history\n\n![alt text](https://raw.githubusercontent.com/mayur-softices/djnago-customize-history/main/docs/_static/Change-history-CrudUser-object-5-Django-site-admin.png)\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Show the old and new value of model's change field in history.",
"version": "1.0.3",
"split_keywords": [
"django",
"old",
"new",
"history"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2215641726a7477ed532975be1bbbe2a8490c1862b1141f9e4b91e390d0cc7c6",
"md5": "98b69455a352e26b2b595e31b1aee8dc",
"sha256": "90d35edad20858c636889c36d7353866c9c3689a4ac23e0d0a6dabd339087a09"
},
"downloads": -1,
"filename": "django_old_new_history-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "98b69455a352e26b2b595e31b1aee8dc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5619,
"upload_time": "2023-04-05T11:16:25",
"upload_time_iso_8601": "2023-04-05T11:16:25.410730Z",
"url": "https://files.pythonhosted.org/packages/22/15/641726a7477ed532975be1bbbe2a8490c1862b1141f9e4b91e390d0cc7c6/django_old_new_history-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e1d945541c9f4cf78352298ab995599163860d2633feeb906217e8b3d0d070d0",
"md5": "e0236feb49a8eae477c7178578526806",
"sha256": "4407a7f8207dfc8c5799c5223db3b12379b2ccc0366f7b546787f86dd9c179d1"
},
"downloads": -1,
"filename": "django-old-new-history-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "e0236feb49a8eae477c7178578526806",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4923,
"upload_time": "2023-04-05T11:16:30",
"upload_time_iso_8601": "2023-04-05T11:16:30.734605Z",
"url": "https://files.pythonhosted.org/packages/e1/d9/45541c9f4cf78352298ab995599163860d2633feeb906217e8b3d0d070d0/django-old-new-history-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-05 11:16:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Softices",
"github_project": "django-old-new-history",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "django-old-new-history"
}