I have the following code, It works properly but the issue is that i want to be able to change the message that shows This Field is Required, or when it says this is invalid I know there is a way to add this but the many that i've tried before did not work. this way works but i'm not able to modify the messages.
from django import forms
from models import user
class loginForm(forms.ModelForm):
class Meta:
model = user
fields = ('username', 'password',)