Mercurial > agora-palash
view context_processors.py @ 143:7a27b1c9cb84
Add LESS compilation (toggled in settings)
Disabled by default to make development easier, but should be used in
production environments.
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Fri, 12 Oct 2012 22:59:56 -0400 |
parents | |
children |
line wrap: on
line source
from django.conf import settings def less_compilation(request): return {'compile_less': settings.COMPILE_LESS}