From 3df664351369f8d299edfdd4f51da7856f2fefd4 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Mon, 17 May 2021 17:41:28 +0200 Subject: [PATCH] this is a shell command ... --- docs/maintenance/apps.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/maintenance/apps.md b/docs/maintenance/apps.md index fd2250ad..9707777a 100644 --- a/docs/maintenance/apps.md +++ b/docs/maintenance/apps.md @@ -17,8 +17,8 @@ Mature Alliance Auth installations, or those with actively developed extensions This can make it confusing for admins to apply the right permissions, contribute to larger queries in backend management or simply look unsightly. -```python - python manage.py remove_stale_contenttypes --include-stale-apps +```shell +python manage.py remove_stale_contenttypes --include-stale-apps ``` This inbuilt Django command will step through each contenttype and offer to delete it, displaying what exactly this will cascade to delete. Pay attention and ensure you understand exactly what is being removed before answering `yes`.