1👍
This solved it:
>>> from django.contrib.admin.models import LogEntry
>>> x = LogEntry.objects.all().order_by("-id")[:200]
>>> for y in x:
... print("%s - %s" % (y.action_time, y.change_message))
Source:stackexchange.com
1👍
This solved it:
>>> from django.contrib.admin.models import LogEntry
>>> x = LogEntry.objects.all().order_by("-id")[:200]
>>> for y in x:
... print("%s - %s" % (y.action_time, y.change_message))