On 27/07/2011 23:39, Max Bachl wrote:
> Hi all!
> I've encountered a strange bug today.
> I want to return an HTTP response with this code:
> 
> def main(request):
>     t = loader.get_template("main/start.html")
>     return HttpResponse(t)
> 
> However, the only result I get is
> 
> <Text Node: '<!DOCTYPE html>
> <html>
>       <'>
> and the rest of the html file has gone. The same error occurs with
> every other file as well. I have tried everything.
> 
> Max
> 

Hi Max,

what version of Django are you using?
Are you tracking the development version (trunk)?

Regards,
Benedict

-- 
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.

Reply via email to