views:

27

answers:

0

To explain, I've taken a bare bones view from the tutorial of Django, and pointed it at an html page that I know works. When I do the following call:

return render_to_response('index.html', {'stuff': 'blah'})

The resulting page is terribly broken in the sense that a lot of the styles are totally lost. However when I view the page source all the same code is there. I can even take the contents, save it as a new html file and when I browse locally, it looks perfect. Why is Firefox and IE choking on what Django sends back? All my apache2 logs look fine as well. When I do a diff between the source of the output and the original template file, they differ only in carriage return codes as far as I can tell.