Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django tags for templates in Eclipse

I'm wondering if is it possible to have autocompletion, autoformatting, and those beautiful things working in Eclipse IDE for Django based templates.

Mainly for these things: {% ... %} {{ ... }}

Thanks in advance

like image 599
Pablo Avatar asked Nov 03 '09 22:11

Pablo


People also ask

What are Django template tags?

Django Code The template tags are a way of telling Django that here comes something else than plain HTML. The template tags allows us to to do some programming on the server before sending HTML to the client.

How do I use custom template tags in Django?

Building Tags and Filters Custom tags and filters live in your Django app in a templatetags/ directory. You can import any files in this directory into a template using the {% load %} tag. The name of the module you create will be the name you use to load the tag library.

Can you use Django template tags in Javascript?

Django templates are often used to pass data to JavaScript code. Unfortunately, if implemented incorrectly, this opens up the possibility of HTML injection, and thus XSS (Cross-Site Scripting) attacks.


1 Answers

Check this page for Django Eclipse plugin: http://eclipse.kacprzak.org/

like image 70
Zbigniew Avatar answered Oct 16 '22 14:10

Zbigniew