django forms add placeholder code example
Example: how to insert a placeholder text in django modelform
q = forms.CharField(label='search',
widget=forms.TextInput(attrs={'placeholder': 'Search'}))
q = forms.CharField(label='search',
widget=forms.TextInput(attrs={'placeholder': 'Search'}))