comparison 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
comparison
equal deleted inserted replaced
142:c3c4aaccbcd0 143:7a27b1c9cb84
1 from django.conf import settings
2
3
4 def less_compilation(request):
5 return {'compile_less': settings.COMPILE_LESS}