mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 16:43:57 +00:00
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:
committed by
Tim Abbott
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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user