I am using django-registration for my project. in my registration_form.html file:
{{form.username}}
{{form.email}}
//other fields
And I want to set placeholders for each field. But this is a kind of built-in app. so I need to find the way for editing these fields from my main app.
I don’t want to change source of django-registration.
If you can override the built-in form, you can define the placeholder as follows:
Or else you can use jQuery to add placeholder to the fields by using the corresponding field’s
idas given below:You can use firebug to find the
idof the field.