diff --git a/tabula/tabula/windc/forms.py b/tabula/tabula/windc/forms.py index 3691d9f..6c3e26f 100644 --- a/tabula/tabula/windc/forms.py +++ b/tabula/tabula/windc/forms.py @@ -109,22 +109,22 @@ class WizardFormIISConfiguration(forms.Form): iis_domain = forms.ChoiceField(label=_('Member of the Domain'), required=False) - def __init__(self, request, *args, **kwargs): - - super(WizardFormIISConfiguration, self).__init__(request, - *args, - **kwargs) - - link = self.request.__dict__['META']['HTTP_REFERER'] - datacenter_id = re.search('windc/(\S+)', link).group(0)[6:-1] - - domains = api.services_list(request, datacenter_id) - - LOG.critical('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$') - LOG.critical(domains) - LOG.critical('&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&') - - self.fields['iis_domain'].choices = [("", "")] + \ - [(domain.name, domain.name) - for domain in domains] + # def __init__(self, request, *args, **kwargs): + # + # super(WizardFormIISConfiguration, self).__init__(request, + # *args, + # **kwargs) + # + # link = self.request.__dict__['META']['HTTP_REFERER'] + # datacenter_id = re.search('windc/(\S+)', link).group(0)[6:-1] + # + # domains = api.services_list(request, datacenter_id) + # + # LOG.critical('$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$') + # LOG.critical(domains) + # LOG.critical('&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&') + # + # self.fields['iis_domain'].choices = [("", "")] + \ + # [(domain.name, domain.name) + # for domain in domains] \ No newline at end of file diff --git a/tabula/tabula/windc/workflows.py b/tabula/tabula/windc/workflows.py index c8d99d0..b88a3e7 100644 --- a/tabula/tabula/windc/workflows.py +++ b/tabula/tabula/windc/workflows.py @@ -66,7 +66,7 @@ class ConfigureDCAction(workflows.Action): class Meta: name = _("Data Center") - help_text_template = ("api_data_center_help.html") + help_text_template = "_data_center_help.html" class ConfigureDC(workflows.Step):