1👍
✅
@artm is right, placeholder is an attribute within input tag, Django allows you to add placeholder attribute using widget, for example:
from django import forms
class ExampleForm(forms.Form):
name = forms.CharField(label='name', widget=forms.TextInput(attrs={'placeholder': 'Please enter your name'}))
That will insert placeholder attribute that will give you exactly what you described.
Source:stackexchange.com