Okay so I have a form and then in the template, I have this code:
{% if form.errors %}
{ form.errors %}
{% endif %}
Now, suppose I have a username field in my form which is required and I purposely do not fill it out. It would say
username
-This field is required
How do I change the word "username" which it displays when telling what field the error message is for? I'm guessing it is taking the name from the Model I created because in the model (which I then made a form of) I had written
username = models.CharField(max_length=10)
first_name = models.CharField(max_length=20)
As you can see, if there is an error with the first_name field, it django would display
first_name
- *error message*
How would I make it display "First Name" instead of "first_name"?