1👍
✅
You can access the Track Log
of Admin
activities like :-
from django.contrib.admin.models import LogEntry
logs = LogEntry.objects.all() # You can also filter
for l in logs:
#access or perform actions
Edit :-
To access the time of activity or action. You can access it by action_time:-
logs = LogEntry.objects.all() # You can also filter
for l in logs:
actionTime = l.action_time # Changed Here
It will show the time of action made by user
👤Lars
Source:stackexchange.com