Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

set lable of field django

def __init__(self, *args, **kwargs):
    super(YourFormSuper, self).__init__(*args, **kwargs)
    self.fields['field_key'].label = "Your custom lable"
 
PREVIOUS NEXT
Tagged: #set #lable #field #django
ADD COMMENT
Topic
Name
9+4 =