guardian.management.commands.clean_orphan_obj_perms.
Command
¶clean_orphan_obj_perms command is a tiny wrapper around
guardian.utils.clean_orphan_obj_perms()
.
Usage:
$ python manage.py clean_orphan_obj_perms
Removed 11 object permission entries with no targets