#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):

 lukeplant: the “installer” for Django should not install file type icons
 etc.
 
 That is the point of mandating a default extension — Django would only put
 this in the documentation or wherever it makes sense. Then other
 applications will know that this is the Django extension. TextMate comes
 with icons for 80 or so different document types, I would then include a
 Django icon bound to the extension picked (currently not possible w/o
 knowing which extension to target) — on Linux it might be that it is KDE
 or GNOME which bundles these document icons.
 
 Likewise the Emacs mode for Django, or the Django mode in vim, TextMate,
 or similar, would automatically be active when the file was using the
 mandated file extension.
 
 So the request is for a standard! This standard then allows third party
 applications to improve the user experience “out of the box” and does not
 result in the problem that e.g. a user receiving a sample Django project
 sees this as plain HTML because the author of the project had chosen a
 different extension etc.
 
 That you want to see Django files as HTML is only because you have no
 dedicated Django mode, as soon as you have one, you face the problem
 mentioned by Michael Sheets above.

-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to