From 33f53f1d25887dc73a283f983822c59f30083d87 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Wed, 29 Jun 2016 00:28:59 +0200 Subject: [PATCH] Add docstrings to management commands --- cas_server/management/commands/cas_clean_sessions.py | 2 ++ cas_server/management/commands/cas_clean_tickets.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/cas_server/management/commands/cas_clean_sessions.py b/cas_server/management/commands/cas_clean_sessions.py index da60c1a..3d32090 100644 --- a/cas_server/management/commands/cas_clean_sessions.py +++ b/cas_server/management/commands/cas_clean_sessions.py @@ -1,3 +1,4 @@ +"""Clean deleted sessions management command""" from django.core.management.base import BaseCommand from django.utils.translation import ugettext_lazy as _ @@ -5,6 +6,7 @@ from ... import models class Command(BaseCommand): + """Clean deleted sessions""" args = '' help = _(u"Clean deleted sessions") diff --git a/cas_server/management/commands/cas_clean_tickets.py b/cas_server/management/commands/cas_clean_tickets.py index d18a7d4..dfbd4ec 100644 --- a/cas_server/management/commands/cas_clean_tickets.py +++ b/cas_server/management/commands/cas_clean_tickets.py @@ -1,3 +1,4 @@ +"""Clean old trickets management command""" from django.core.management.base import BaseCommand from django.utils.translation import ugettext_lazy as _ @@ -5,6 +6,7 @@ from ... import models class Command(BaseCommand): + """Clean old trickets""" args = '' help = _(u"Clean old trickets")