A note that if you use the project django-compressor you can put something
like the following into your templates and it will automatically compile
the less

{% compress css %}
    <link type="text/less" rel="stylesheet" href="{{ STATIC_URL
}}css/style.less" charset="utf-8">
{% endcompress %}

No need to compile by hand.

A note about bootstrap. I'm using it for my project and I've run across
some pretty glaring bugs in the javascript it ships with. They don't keep
the master branch stable, and are in the middle of merging the 2.0 work in
progress branch into master. So there is a little bit of instability. Not
the end of the world though, I still recommend it.

As far as core. Bootstrap should be a 3rd party app, but possibly having
less support in core might be helpful.

On Thu, Feb 2, 2012 at 2:36 PM, Adrian Holovaty <adr...@holovaty.com> wrote:

> On Thu, Feb 2, 2012 at 2:07 PM, Idan Gazit <i...@gazit.me> wrote:
> > * less.js has the distinct advantage of being easier to develop for than
> > sass for our purposes.If we go with a less.js solution (like bootstrap),
> we
> > might not need to require that all edits to admin "source" stylesheets
> > (less/scss) come with the recompiled CSS. This lowers the barrier to
> > contribution significantly, at the cost of a bit of site performance as
> less
> > gets compiled client-side. That being said, the admin isn't supposed to
> be
> > used as a a high-traffic site (or shouldn't be, I can't say how people
> abuse
> > it).
>
> Two points:
>
> * If we decide to change the admin site to use LESS, we should ship
> compiled CSS. No need to introduce the less.js overhead.
>
> * I have been working on a Python LESS compiler in my spare time, and
> there could be a use for it in here.
>
> Adrian
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To post to this group, send email to django-developers@googlegroups.com.
> To unsubscribe from this group, send email to
> django-developers+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-developers?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to