2016-06-04 16:52:18 +02:00
|
|
|
from typing import Any
|
2013-11-13 05:38:54 +01:00
|
|
|
|
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
|
|
|
|
|
2020-01-14 21:59:46 +01:00
|
|
|
|
2013-11-13 05:38:54 +01:00
|
|
|
class Command(BaseCommand):
|
2020-01-30 21:23:36 +01:00
|
|
|
help = """Checks /etc/zulip/settings.py for common configuration 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()
|