I have a django model like below
models.py
class Product(models.Model): name = models.CharField(max_length = 300) descripti
You can do the following:
class ProductForm(ModelForm): name = forms.CharField(label='name ', widget=forms.TextInput(attrs={'placeholder': 'name '}))