[Answer]-Django-CMS: is there a way to remove page history?

1👍

Assuming you mean the action log in Django’s admin, which is storied in a model called LogEntry, here’s how to delete all of that data:

from django.contrib.admin.models import LogEntry
LogEntry.objects.all().delete()

To do this manually, you could run those two statements in a Django-aware shell, which you can get with the following shell command at your project root:

python manage.py shell

Leave a comment