DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to insert a placeholder text in django modelform
q = forms.CharField(label='search', widget=forms.TextInput(attrs={'placeholder': 'Search'}))
PREVIOUS
NEXT
Tagged:
#insert
#placeholder
#text
#django
#modelform
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit