diff --git a/configurations/base.py b/configurations/base.py index aa7deff..6c47db9 100644 --- a/configurations/base.py +++ b/configurations/base.py @@ -16,7 +16,7 @@ install_failure = ("django-configurations settings importer wasn't " class SettingsBase(type): def __new__(cls, name, bases, attrs): - if bases != (object,) and bases[0].__name__ != 'NewBase': + if bases not in ((object,), ()) and bases[0].__name__ != 'NewBase': # if this is actually a subclass in a settings module # we better check if the importer was correctly installed from . import importer