Files
zulip/zerver/management/commands/checkconfig.py
Tim Abbott 1ec0414786 management: Refactor checkconfig code to live in library.
This makes it possible to call this from other management commands.
2018-05-07 09:38:05 -07:00

15 lines
356 B
Python

import sys
from typing import Any
from django.conf import settings
from django.core.management.base import BaseCommand
from zerver.lib.management import check_config
class Command(BaseCommand):
help = """Checks your Zulip Voyager Django configuration for issues."""
def handle(self, *args: Any, **options: Any) -> None:
check_config()