django-reversion-compare
django-reversion-compare copied to clipboard
Add compare view to django-reversion for comparing two versions of a reversion model.
Hi, I was trying out your app and noticed something weird. Why is a normal ForeignKey (that we are not registering in reversion) showing up on the diff panel? Even...
 If I following ``` {% for field_diff in compare_data %} {{ field_diff }} ``` The html output is; ``` {'diff': 'Dynamically evolve tactical e-business whereas client-focused technology. Monotonectally evolve...
Thanks for this project! Super helpful. After setting it up for my project and running a few test runs, I noticed that if there is a change in a ManyToManyField,...
When non-admin users on my website save changes to an object, a comment is not automatically added to the revision in admin (the changes are observable in the comparison view...
I have `Enterprise` model and related `ContactPerson` and `Phone` models: ``` python @reversion.register() class Enterprise(models.Model): # ... @reversion.register() class ContactPerson(models.Model): enterprise = models.ForeignKey(Enterprise, on_delete=models.CASCADE) # Other fields @reversion.register() class Phone(models.Model):...
It seems that adding a new ManyToMany relationship, and then comparing an object seems to cause it to break. reversion_compare/admin.py:50 sets "Field Didn't exist!" in this case, as the old...
model inherit from django comments model, get this error: ``` File "/home/jens/PyLucid_env/src/django-reversion-compare/reversion_compare/admin.py" in get_related 101. related = getattr(obj, field_name) File "/home/jens/PyLucid_env/src/django/django/db/models/fields/related.py" in __get__ 343. raise self.field.rel.to.DoesNotExist Exception Type: DoesNotExist at...
Create a test model with all existing field internal types, add compare function if needed and add a unittest for them.
``` Traceback: File " venv\lib\site-packages\django\core\handlers\base.py" in get_response 115. response = callback(request, *callback_args, **callback_kwargs) File " venv\lib\site-packages\django\utils\decorators.py" in _wrapped_view 91. response = view_func(request, *args, **kwargs) File " venv\lib\site-packages\django\views\decorators\cache.py" in _wrapped_view_func 89....