#2614: Pick a default extension for Django templates
-----------------------------+----------------------------------------------
Reporter: Allan Odgaard | Owner: adrian
Status: closed | Component: Template system
Version: | Resolution: wontfix
Keywords: | Stage: Design decision needed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------------+----------------------------------------------
Changes (by mtredinnick):
* status: new => closed
* resolution: => wontfix
Comment:
As per Luke Plant's comment, we are extension neutral precisely because
you are intermixing Django templates with other syntax. That is why we
removed the .html extension in the first place. Filetype detection based
on extension is flawed for the very reasons described in these comments,
so you have to do some internal inspection, just like MIME type detection
works.
Vim gets it mostly right (it could be a little more bulletproof); other
apps should be able to manage.
--
Ticket URL: <http://code.djangoproject.com/ticket/2614#comment:13>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---