python manage.py shell 然后 输入 from django.contrib.admin.models import LogEntry LogEntry.objects.all().delete()