mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-10 00:30:55 +08:00
test model unicode
This commit is contained in:
@@ -10,12 +10,12 @@ class Command(BaseCommand):
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument(
|
||||
'--run-once',
|
||||
action='store_true',
|
||||
dest='run_once',
|
||||
"--run-once",
|
||||
action="store_true",
|
||||
dest="run_once",
|
||||
default=False,
|
||||
help='Run once and then stop.',
|
||||
help="Run once and then stop.",
|
||||
)
|
||||
|
||||
def handle(self, *args, **options):
|
||||
monitor(run_once=options.get('run_once', False))
|
||||
monitor(run_once=options.get("run_once", False))
|
||||
|
||||
Reference in New Issue
Block a user