4👍
✅
PasswordInput
accepts attrs
as well.
login_password = forms.CharField(label=u'password', widget=forms.PasswordInput(render_value=False, attrs={'placeholder': 'password'}))
Source:stackexchange.com