#2614: Pick a default extension for Django templates
-----------------------------+----------------------------------------------
Reporter: Allan Odgaard | Owner: adrian
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Template system | Version:
Severity: normal | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment (by Allan Odgaard):
James: there is precedence for double-extensions (which is supported for
TM language grammars), e.g. using js.django, html.django, etc. This would
then gracefully degrade to just django for systems not supporting double-
extensions (i.e. all Django files would get the same Django document icon
in Finder).
FYI TextMate 2.0 will still rely on extensions as the primary way to
identify file types — anything else is fragile and/or clumsy. What I was
referring to in this ticket
[http://macromates.com/ticket/show?ticket_id=DFDBA0AA] is the ability to
have project type detection and use that to change HTML files to be Django
only for Django projects. But this is not ideal, e.g. stand-alone Django-
files are then not recognized correctly, it still does not allow a
document icon to be assigned to Django files, and this is a TextMate-
specific workaround, similar to how the Emacs modeline (as suggested by
lukeplant) is also an editor-specific workaround.
--
Ticket URL: <http://code.djangoproject.com/ticket/2614>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---