Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
how to insert a placeholder text in django modelform
夢のの夢
Programming language:
Python
2021-07-22 23:01:07
0
Q:
how to insert a placeholder text in django modelform
user97109
Code:
Python
2021-08-07 16:08:10
q = forms.CharField(label='search', widget=forms.TextInput(attrs={'placeholder': 'Search'}))
0
Tags
text
insert
how
model
Related
django form field add attrs
set the context data in django listview
adding content search bar in blog django
how to add captcha in django forms
django pass list of fields to values
insert data in django models
how to logout in django
python 3.7 insert at place in dict
django set default value for model not form
add time in models of django
sum values in django models and insert value in model field
New to Communities?
Join the community