def get_form(cls, group): """Returns a Form for all settings found in :class:`SettingsGroup`. :param group: The settingsgroup name. It is used to get the settings which are in the specified group. """ return generate_settings_form(settings=group.settings)
def get_settings_form(self): """Generates a settings form based on the settings.""" return generate_settings_form(self.values.values())()