mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +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
|
||||
from typing import Optional, overload
|
||||
|
||||
from django.core.exceptions import ImproperlyConfigured
|
||||
|
||||
|
||||
class ZulipSettingsError(ImproperlyConfigured):
|
||||
class ZulipSettingsError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user