Add docstrings to management commands
This commit is contained in:
parent
6972ad7536
commit
33f53f1d25
@ -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")
|
||||
|
||||
|
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user