how to add placeholder in django forms 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'}))