for field_name in self.fields:
    field = self.fields.get(field_name)
if field:
    if type(field.widget) in (forms.TextInput, forms.DateInput):
        field.widget = forms.TextInput(attrs={'placeholder': field.label})


class Meta:
    model = DemoModel
Как добавить заполнитель в CharField в Django?