config: Remove Django base class from ZulipSettingsError.

This breaks an import cycle that prevented django-stubs from inferring
types for django.conf.settings.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-09-23 21:50:09 -07:00 committed by Tim Abbott
parent 7908e2c3a5
commit a5cf3b3975
1 changed files with 1 additions and 3 deletions

View File

@ -2,10 +2,8 @@ import configparser
import os import os
from typing import Optional, overload from typing import Optional, overload
from django.core.exceptions import ImproperlyConfigured
class ZulipSettingsError(Exception):
class ZulipSettingsError(ImproperlyConfigured):
pass pass