'Form processor'

def save(self):

    try:
        ModuleSetting.set_for_module('default_perspective', self.cleaned_data['default_perspective'].id, 'treeio.core')
        ModuleSetting.set_for_module('default_permissions', self.cleaned_data['default_permissions'], 'treeio.core')
        ModuleSetting.set_for_module('default_timezone', self.cleaned_data['default_timezone'], 'treeio.core')
        ModuleSetting.set_for_module('language', self.cleaned_data['language'], 'treeio.core')
        if getattr(settings, 'HARDTREE_SUBSCRIPTION_CUSTOMIZATION', True):
            if isinstance(self.fields['logo'], forms.FileField):
                logopath = self._handle_uploaded_file('logo')
                ModuleSetting.set_for_module('logopath', logopath, 'treeio.core')
            elif isinstance(self.fields['logo'], forms.ChoiceField):
                if (self.cleaned_data['logo'] == 'delete'):
                    try:
                        ModuleSetting.get_for_module('treeio.core', 'logopath').delete()
                    except:
                        pass
        return True
    except:
        return False
