On Sat, 2008-01-05 at 03:30 -0800, [EMAIL PROTECTED] wrote:
> Hi all,
>
> I used to let Django generate my rss feed automatically (i didnt
> create any template for it). Since the autoescaping feature in the
> development version, my feeds are also escaped.
> Is there any way to disable it other than creates a template with the
> {{autoescape off}} ?
No. If you're wanting to display raw HTML in your output, you need to
explicitly tell Django that by wrapping things in an {% autoescape off
%} pair. There's no way to read your mind and know whether the "<"
you're outputting is meant to be an HTML tag or not, so Django defaults
to being safe and escaping those characters.
Regards,
Malcolm
--
Why can't you be a non-conformist like everyone else?
http://www.pointy-stick.com/blog/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---