diff --git a/configurations/__init__.py b/configurations/__init__.py index 16cb03f..ff48e78 100644 --- a/configurations/__init__.py +++ b/configurations/__init__.py @@ -2,5 +2,5 @@ from .base import Settings, Configuration from .decorators import pristinemethod -__version__ = '0.3' -__all__ = ['Configuration', 'pristinemethod'] +__version__ = '0.4' +__all__ = ['Configuration', 'pristinemethod', 'Settings'] diff --git a/configurations/base.py b/configurations/base.py index 5669c04..1390bd9 100644 --- a/configurations/base.py +++ b/configurations/base.py @@ -19,9 +19,10 @@ install_failure = ("django-configurations settings importer wasn't " class ConfigurationBase(type): def __new__(cls, name, bases, attrs): - # also check for "Configuration" here to handle the Settings class below - # remove it when we deprecate the Settings class - if bases != (object,) and bases[0].__name__ not in ('NewBase', 'Configuration'): + # also check for "Configuration" here to handle the Settings class + # below remove it when we deprecate the Settings class + if (bases != (object,) and + bases[0].__name__ not in ('NewBase', 'Configuration')): # if this is actually a subclass in a settings module # we better check if the importer was correctly installed from . import importer diff --git a/setup.cfg b/setup.cfg index 27b0158..e78fd88 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = django-configurations -version = 0.4a1 +version = 0.4 author = Jannis Leidel author-email = jannis@leidel.info summary = A helper for organizing Django settings.