Sunday, January 6, 2013

Re: HTML Source on Browser Rendering

Hello,

I think you should also check the 'Content-Type' being received client-side
in the HTTP headers. You can use something curl or Firebug.

On Sun, Jan 6, 2013 at 1:40 PM, Ryoichiro Kamiya <ryoichiro.kamiya@gmail.com> wrote:
Hi,

I'm testing Django template rendering in development environment, but one of the page shows HTML source (after all Django tag executed) instead of HTML.

1. Content Type
The first thing I check is the Content Type but it's correctly set up (and it's in header template and shared with other pages that show contents correctly.

<meta http-equiv="Content-Type" content="text/html" charset="utf-8">

When I copied & pasted to another template and it works.
  
2. Browser
I checked it in another browser (i.e. Chrome) but it returned the same result.
  
3. Reboot runserver
also it didn't change the output.
  
Is there anything else I should check?
Thanks in advance.
  
Regards,
Ryo

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

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate