Django template support for non-html files

Hi,

Is there a way to have django template support in pycharm (completion, etc) when using a non-html file?

I have an app that is generating a latex file and, naturally, I don't expect pycharm to know about latex, but it would be nice if it would recognize the file as a django template and autocomplete blocks, loops, etc.

1
2 comments

Hello Pedro,

This is not possible at the moment. Django templates are recognized only

in HTML, XML and optionally JS files.

Is there a way to have django template support in pycharm (completion,

etc) when using a non-html file?

I have an app that is generating a latex file and, naturally, I don't

expect pycharm to know about latex, but it would be nice if it would

recognize the file as a django template and autocomplete blocks,

loops, etc.

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

I see that this is a very old thread, but unfortunately this is obviously still not possible.

I would prefer to have this option too and I guess I'm not the only one: ie. simply using templated text for text (parts) of emails sent by a Django app.

Are there any plans to support this sometimes?

0

Please sign in to leave a comment.