def __init__(self, request, *args, **kwargs):
    super(CreateProjectInfoAction, self).__init__(request, *args, **kwargs)
    readonlyInput = forms.TextInput(attrs={'readonly': 'readonly'})
    self.fields['domain_id'].widget = readonlyInput
    self.fields['domain_name'].widget = readonlyInput
    self.add_extra_fields()
def __init__(self, request, *args, **kwargs):
    super(CreateProjectInfoAction, self).__init__(request, *args, **kwargs)
    readonlyInput = forms.TextInput(attrs={'readonly': 'readonly'})
    self.fields['domain_id'].widget = readonlyInput
    self.fields['domain_name'].widget = readonlyInput
    self.add_extra_fields()