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.
No comments:
Post a Comment