django model form placeholder meta 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'}))