help_text is safe by default? Might be of some use.
aa56280 wrote:
> The "safe" filter works on a string, not the entire form. So you'll
> have to apply it to the label of the field:
>
> {{ form.tos.label|safe }}
>
> Hope that helps.
>
>
>
> On Dec 4, 11:55 am, Viktor wrote:
> > ahoj,
> >
> > I
The "safe" filter works on a string, not the entire form. So you'll
have to apply it to the label of the field:
{{ form.tos.label|safe }}
Hope that helps.
On Dec 4, 11:55 am, Viktor wrote:
> ahoj,
>
> I wrote a simple backend that extends RegistrationFormTermsOfService
> of django-restration
ahoj,
I wrote a simple backend that extends RegistrationFormTermsOfService
of django-restration as I would like to add links into the text
stating that the user accepts the terms of service.
But when I pass it to the template, the link's text is always escaped.
I've tried to add a template filter
3 matches
Mail list logo