Update Help msgs of management commands

PROD-399
This commit is contained in:
uzairr
2019-08-02 15:20:26 +05:00
parent b876dce719
commit 80316c632d
21 changed files with 91 additions and 15 deletions

View File

@@ -4,6 +4,7 @@ Commands to fail old tasks
from __future__ import absolute_import, print_function, unicode_literals
from datetime import datetime
from textwrap import dedent
from celery.states import FAILURE
from django.core.management.base import BaseCommand, CommandError
@@ -21,6 +22,7 @@ class Command(BaseCommand):
./manage.py lms fail_old_tasks QUEUING --dry-run --after 2001-01-03 \
--before 2001-01-06 --task-type bulk_course_email
"""
help = dedent(__doc__).strip()
def add_arguments(self, parser):
"""