set lable of field django code example
Example: set lable of field django
def __init__(self, *args, **kwargs):
super(YourFormSuper, self).__init__(*args, **kwargs)
self.fields['field_key'].label = "Your custom lable"
def __init__(self, *args, **kwargs):
super(YourFormSuper, self).__init__(*args, **kwargs)
self.fields['field_key'].label = "Your custom lable"