The table django_admin_log
is useful to monitor the actions of users in the admin. Right now, I can achieve that by querying the database directly. Is there a built-in functionality where I can view the table django_admin_log
through Django's admin for all users?
views:
109answers:
1
+1
A:
Can't you just:
from django.contrib.admin.models import LogEntry
admin.site.register(LogEntry)
In one of your admin.py files? I just tested it and it is barebones but it works.
You might want to be more specific and create a ModelAdmin
class for LogEntry to provide for a better list view and maybe some filtering abilities. But that should work.
celopes
2010-02-10 22:04:10