Django view for the page that shows the modification history for a given model instance.
///
We can see the change history when doing:
python manage.shell
import django.contrib.admin.models import LogEntry
from django.contrib.contenttypes.models import ContentType
from app import MyModel
results = LogEntry.objects.filter(content_type=ContentType.objects.get_for_model(MyModel ))
print(vars(results[1]))
.. shows the change details
Please tell me what I'm missing or need to add.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f59bfb29-c5be-459b-a984-ff1492150f92n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/cc8975e1-8b77-4316-92df-909eecaad98cn%40googlegroups.com.