Roee Adler
Roee Adler

Reputation: 33990

Visual Editor for Django Templates?

Is there a tool out there for visually building Django templates?

Thanks

Upvotes: 21

Views: 12348

Answers (6)

Van Gale
Van Gale

Reputation: 43912

I haven't tried it personally, but a co-worker uses the free ActiveState Komodo Edit to edit Django templates, and the page I linked claims support for Django template editing.

There's also netbeans-django that is building a Django plugin for Netbeans, but no idea how complete or how well it works.

I've read that TextMate has a "Django bundle" for editing code and templates if you're on a Mac.

Upvotes: 6

Demlar
Demlar

Reputation: 32

Don't forget for the Emacs Users there is django template assistance. The Emacs link will take you to more helpful documentation in Emacs.

Upvotes: 0

chefsmart
chefsmart

Reputation: 6981

There is also PyCharm.

Upvotes: 5

kaapstorm
kaapstorm

Reputation: 1091

I'm really liking Eclipse with Pydev and the Aptana Studio 3 Eclipse plugin. More info here: http://pydev.blogspot.com/2010/08/django-templates-editor.html

(The first thing I did was change the theme. I quite like the Mac Classic theme's Django template highlighting.)

Upvotes: 1

Iain Duncan
Iain Duncan

Reputation:

Kind of an oblique answer, but if being able to use tools like Dreamweaver on your templates is important to you, you may find you like Genshi better than Django Templates, and it's easy enough to switch your template engine.

Genshi is an XML templating language that is one of the inheritors of the Zope TAL family. Your template file is a valid XML file, so you can open it in any XML aware tool. Personally, once I got used to using XML templates, I couldn't go back, but they are slower to process ( an xml parser has to run behind the scenes ) and they require valid XHTML in your output which can be a good or a bad thing. ( Invalid user submitted html content for example would need to be forced clean using something like Beautiful Soup or ElementTree ).

Upvotes: 1

muhuk
muhuk

Reputation: 16085

There's no WYSIWYG tool like Dreamweaver. But highligting is possible. I am using Kate to edit my templates.

For instance when you comment in Django template it inserts {% comment %}.

Upvotes: 2

Related Questions