I have a thought for improvement. Currently the template files use
a .html extension for template files. While this system works I think
it could be improved.

Having a file as .html implies it is an HTML file. The template files
are not complete HTML therefore not valid HTML files, in my opinion.

Like from an IDE or editors perspective. If an IDE/editor opens
a .html file it has no way of knowing it is a template verses a true
HTML file. A user can quickly look at the contents and know. An editor
could look at all the code and look for certain words like {% blah %}
but that's in-efficient.

It would make more sense if django template files had a different
extension like maybe .dtf for django template file.

I don't know how the django template system works on the backend. Like
if it sends a complete HTML file or just the HTML text but if it used
a template file it could either dynamically generate a .html file or
just send the generated html. However it would work....

Just a thought.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to