I want to put an anchor tag into this ValidationError:
Customer.objects.get(email=value)if self.register:# this address is already registeredraise forms.ValidationError(_('An account already exists for this email address'))
The anchor tag would be <a href="some/url/to/login">Log in instead</a>
So, the error message when a user inputs an email that already exists would be something like:
'An account already exists for this email address. <a>
Log in instead</a>
?'
Thanks in advance!