【发布时间】:2011-02-21 21:24:20
【问题描述】:
我需要抛出包含锚点的 ValidationError。
if not profile.activated():
raise ValidationError('Your profile is not activated. <a href="{% url resend_activation_key %}">Resend activation key</a>.')
我需要修改什么才能使它工作?
【问题讨论】:
标签: python django validation django-templates django-forms