summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortouhf <108483908+touhf@users.noreply.github.com>2023-01-20 16:58:51 +0500
committerGitHub <noreply@github.com>2023-01-20 12:58:51 +0100
commite1a093f8cba66574ce516a7510ded5196cdc6416 (patch)
tree0268d44c32ff3e8016d019a4094641a792cb9876
parent5cd1385356d4b275133ddb0f8c78b2f37c5901eb (diff)
Added short description to remove_stale_contenttypes command.
-rw-r--r--django/contrib/contenttypes/management/commands/remove_stale_contenttypes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/django/contrib/contenttypes/management/commands/remove_stale_contenttypes.py b/django/contrib/contenttypes/management/commands/remove_stale_contenttypes.py
index eccd3aa2c9..51de847dbf 100644
--- a/django/contrib/contenttypes/management/commands/remove_stale_contenttypes.py
+++ b/django/contrib/contenttypes/management/commands/remove_stale_contenttypes.py
@@ -8,6 +8,8 @@ from django.db.models.deletion import Collector
class Command(BaseCommand):
+ help = "Deletes stale content types in the database."
+
def add_arguments(self, parser):
parser.add_argument(
"--noinput",