Sorry if this is a completely retarded question, but I was wondering if it's possible to see the pure html code generated by a django template. Again, I'm really new to django, so I apologize if this is a stupid question.
Thanks!
2 Answers 2
Django templates don't result in HTML code, they result in a node tree. The engine then renders the node tree in order to generate the appropriate output.
Comments
It might seem like a slightly obvious answer, but have you tried "View Source" in your browser?
If you want to improve your understanding, read the Django docs and check out how Template and Context objects work.