Show Permissions ================ :synopsis: Show all permissions for Django models Introduction ------------ The ``show_permissions`` management command lists all permissions for the models in your Django project. By default, it excludes built-in Django apps such as ``admin``, ``auth``, ``contenttypes``, and ``sessions``. This command is useful to quickly inspect the permissions assigned to models, especially when customizing permission logic or managing role-based access. Basic Usage ----------- .. code-block:: bash python manage.py show_permissions This will output the list of permissions for models in all installed apps **excluding** built-in Django apps. Examples -------- Show permissions for specific apps and models: .. code-block:: bash python manage.py show_permissions blog python manage.py show_permissions blog.Post Show permissions including built-in Django apps: .. code-block:: bash python manage.py show_permissions --all Show permissions for only a specific app using the `--app-label` option: .. code-block:: bash python manage.py show_permissions --app-label blog Options ------- * ``--all`` Include permissions for Django’s built-in apps (``admin``, ``auth``, ``contenttypes``, ``sessions``). * ``--app-label