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
from typing import Optional, overload
from django.core.exceptions import ImproperlyConfigured
class ZulipSettingsError(ImproperlyConfigured):
class ZulipSettingsError(Exception):
pass