Django Admin: how to clear the Recent Actions panel

How do I go about cleaning up or overriding the Recent Actions panel in Admin Admin?

I want the admin interface to look like a new installation.

thanks

+8
django django-admin
source share
1 answer

The Recent Actions panel in Django Admin displays LogEntry models. To clear it, you simply delete all objects:

 from django.contrib.admin.models import LogEntry LogEntry.objects.all().delete() 
+11
source share

All Articles