Placeholder, class not getting set when tried to apply through the django’s attrs specifier for forms.DateInput The form is a ModelForm. And according to the docs Takes same arguments as TextInput, with one more optional argument: Here is the code : The same is applied for a forms.TextInput and it works just fine. What am I missing here? Just anybody