Re: file extensions for templates

2009-07-02 Thread David De La Harpe Golden
Rajesh D wrote: > Right. > > http://docs.djangoproject.com/en/dev/ref/templates/api/#the-template-dirs-setting > > Quote: They can have any extension you want, such as .html or .txt, or > they can have no extension at all. > Ah, thanks. (add-to-list 'auto-mode-alist '("\\.html\\.djt\\'" .

Re: file extensions for templates

2009-07-01 Thread Rajesh D
On Jul 1, 8:30 am, David De La Harpe Golden wrote: > Hi, > > As far as I can see, django shouldn't care in the slightest about > template file name extensions, but being a django newbie, I could have > missed something (e.g. autosetting of a mime type somewhere based on > extension), so just to