Deletes old revisions. It can be run regularly to keep revision history manageable.

./manage.pydeleterevisions# keep any changes from last 30 days./manage.pydeleterevisionsyour_app.YourModel--days=30# keep 30 most recent changes for each item../manage.pydeleterevisionsyour_app.YourModel--keep=30# Keep anything from last 30 days and at least 3 from older changes../manage.pydeleterevisionsyour_app.YourModel--keep=3--days=30

Run ./manage.pydeleterevisions--help for more information.

Warning

With no arguments, this command will delete your entire revision history! Read the command help for ways to limit which revisions should be deleted.