Esempio n. 1
0
    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)
Esempio n. 2
0
    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)
Esempio n. 3
0
 def get_settings_form(self):
     """Generates a settings form based on the settings."""
     return generate_settings_form(self.values.values())()
Esempio n. 4
0
 def get_settings_form(self):
     """Generates a settings form based on the settings."""
     return generate_settings_form(self.values.values())()