1👍
✅
There should be a better way but one way to get around this is
text = "You don't have enough funds, please click -><a href='%s'> here </a><- go to your account to add funds." % reverse('add_funds')
raise forms.ValidationError(mark_safe(_(text)),
code='insufficent_funds',
)
👤ark
Source:stackexchange.com