nm, found it. :) just data.from.model|striptags. How cool.

On Mon, Feb 15, 2010 at 9:16 PM, Joel Stransky <j...@stranskydesign.com>wrote:

> I have a piece of data coming back from a model that is wrapped in <p>
> tags. How do I remove these in the template?
>
> For instance I have something like:
> <b>{{ data.from.model }}</b>
>
> and it will render like this
> *<p>some text from the model</p>*
>
> --
> --Joel Stransky
> stranskydesign.com
>



-- 
--Joel Stransky
stranskydesign.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to