That worked great! Thx David Keegan
On Apr 25, 2009, at 7:09 AM, Karen Tracey <kmtra...@gmail.com> wrote: > On Sat, Apr 25, 2009 at 4:30 AM, keegan3d <keega...@gmail.com> wrote: > > Im building a site that uses wordpress for the blog, and django for > everything else. I want to be able to pull in some html from the blog. > > So far if I get the html with urllib2 and then pass the response to > render_to_response it gets formatted to print as a string, <div> -> > <div>. > > Is there a way to tell django to not format the string? or a "django" > way to do this without urllib2? > > This is due to automatic HTML escaping. Yes, it can be selectively > disabled. See: > > http://docs.djangoproject.com/en/dev/topics/templates/#id2 > > for details. > > Karen > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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 -~----------~----~----~----~------~----~------~--~---