mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Worked around an issue with Django 1.6's six.
This commit is contained in:
parent
e453d2355d
commit
46809d02b2
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ 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
|
||||
if (bases not in ((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
|
||||
|
|
|
|||
Loading…
Reference in a new issue