mirror of https://github.com/zulip/zulip.git
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:
parent
7908e2c3a5
commit
a5cf3b3975
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue