Remove django.contrib.admin dependency from django-reversion (Aitor Ruano). README refactor (@rhenter). Testing against Django 2.2 (@claudep). 3.0.3 - 2019-01-24 Improved performance of many reversion database
$ pip install django psycopg2 mysqlclient -e. Run the tests $ tests/manage.pytesttests Create a Pull Request with your contribution Contributors The django-reversion project was developed byDave Halland contributed to bymany other people.
File Name↓File Size↓Date↓ Parent directory/-- django-reversion_3.0.3-1.debian.tar.xz8.0 KiB2022-Apr-11 03:33 django-reversion_3.0.3-1.dsc2.0 KiB2022-Apr-11 03:33 django-reversion_3.0.3.orig.tar.gz64.6 KiB2022-Apr-11 03:33
django-reversion是为django提供历史版本管理的第三方库。 可以管理具体的一个实例对象的修改历史(具体的一条数据库表记录) 可以管理数据库model对应的table的删除历史(一张表里被删除的记录) 2. 我的django依赖 Django == 2.2.11 django-reversion >=3.0.5 djangorestframework== 3.10.3 ...
//github.com/etianen/django-reversion 'reversion_compare', # https://github.com/jedie/django-reversion-compare ... ) # Add reversion models to admin interface: ADD_REVERSION_ADMIN=True # optional settings: REVERSION_COMPARE_FOREIGN_OBJECTS_AS_ID=False REVERSION_COMPARE_IGNORE_NOT_REGISTERED=...
# via django-reversion-compare (pyproject.toml) 351- cryptography==42.0.3\ 352- --hash=sha256:04859aa7f12c2b5f7e22d25198ddd537391f1695df7057c8700f71f26f47a129\ 353- --hash=sha256:069d2ce9be5526a44093a0991c450fe9906cdf069e0e7cd67d9dee49a62b9ebe\ ...
Add compare view to django-reversion for comparing two versions of a reversion model. - Release publish version v0.17.0 with these changes (since v0.16.2): · jedie/django-reversion-compare
112 + * [HistoryCompareDetailView](https://github.com/jedie/django-reversion-compare/blob/main/reversion_compare/views.py) 113 113 114 114 The `make run-test-server` test project contains a Demo, use the links under: 115 115 ``` 0 commit comments Comments0 (0) Failed to load c...
reversion.errors.RegistrationError: <class 'human_resources.models.AttendanceLog'> has not been registered with django-reversion when trying to use HistoryCompareDetailView. More precisely, this error happens here: https://github.com/jedie/django-reversion-compare/blob/master/reversion_compare/compare....
Using the following snippet of code def delete_reporter(request, reporter_pk): reporter = get_object_or_404(EmisReporter, pk=reporter_pk) # quick shortcut to using reversion reversion.default_revision_manager.save_revision((reporter,)) r...