Re: django-registration terms of service link

2009-12-04 Thread Skylar Saveland
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

Re: django-registration terms of service link

2009-12-04 Thread aa56280
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

django-registration terms of service link

2009-12-04 Thread Viktor
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