2013-11-13 05:38:54 +01:00
|
|
|
|
2017-11-16 00:43:27 +01:00
|
|
|
import sys
|
2016-06-04 16:52:18 +02:00
|
|
|
from typing import Any
|
2013-11-13 05:38:54 +01:00
|
|
|
|
|
|
|
from django.conf import settings
|
2017-11-16 00:43:27 +01:00
|
|
|
from django.core.management.base import BaseCommand
|
2013-11-13 05:38:54 +01:00
|
|
|
|
2018-05-04 01:04:12 +02:00
|
|
|
from zerver.lib.management import check_config
|
|
|
|
|
2013-11-13 05:38:54 +01:00
|
|
|
class Command(BaseCommand):
|
2015-08-21 11:56:54 +02:00
|
|
|
help = """Checks your Zulip Voyager Django configuration for issues."""
|
2013-11-13 05:38:54 +01:00
|
|
|
|
2017-10-26 11:35:57 +02:00
|
|
|
def handle(self, *args: Any, **options: Any) -> None:
|
2018-05-04 01:04:12 +02:00
|
|
|
check_config()
|