mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-27 00:48:12 +08:00
13 lines
337 B
Python
13 lines
337 B
Python
from django.core.management.base import BaseCommand
|
|
from django.utils.translation import ugettext as _
|
|
|
|
from django_q.monitor import info
|
|
|
|
|
|
class Command(BaseCommand):
|
|
# Translators: help text for qinfo management command
|
|
help = _('General information over all clusters.')
|
|
|
|
def handle(self, *args, **options):
|
|
info()
|