def __new__(cls, name, bases, attrs):
        try:
            AppSettings
        except __HOLE__:
            # Creating the AppSettings class. Continue.
            pass
        else:
            if AppSettings in bases:
                prefix = get_prefix(attrs, name, use_app_name=True)
                attrs = prefix_attributes(prefix, attrs)
        return super(AppSettingsBase, cls).__new__(cls, name, bases, attrs)
dataset/ETHPy150Open matthewwithanm/django-classbasedsettings/cbsettings/settings.py/AppSettingsBase.__new__