[Eric] Eric4 and Django: project viewer and CSS/LESS

Leonardo Giordani giordani.leonardo at gmail.com
Thu Oct 27 16:45:22 BST 2011


Hi,

two questions about Django and Eric:


1. Project viewer has 4 tabs: Sources, Forms, Translations, Others.
For a Django project I think it could be better to have Sources
(*.py), Templates (*.html, *.js, ...), Migrations (South), Static
(*.css, *.js, *.less, ...)

Obviously Static should be a configurable entry, since the use of a
"static/" directory in the Django project directory is only customary
but not mandatory.

Can a plugin override tab names and content? If yes, do you have some
hints for the starting point? I would like to try it and eventually
submit a patch.


2. working with Django I have to edit CSS/LESS file too. They are
however not loaded in the Forms tab (see first question).

CSS is already supported by the environment, LESS is not. How to add it?


Thanks

Leo


More information about the Eric mailing list