def load(self):
        """Load settings from the form.

        This will populate initial fields based on the site configuration
        and the current install key.
        """
        super(SupportSettingsForm, self).load()

        self.fields['install_key'].initial = get_install_key()
示例#2
0
 def load(self):
     super(SupportSettingsForm, self).load()
     self.fields['install_key'].initial = get_install_key()
示例#3
0
 def load(self):
     """Load the form."""
     super(SupportSettingsForm, self).load()
     self.fields['install_key'].initial = get_install_key()