annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
143
7a27b1c9cb84 Add LESS compilation (toggled in settings)
dellsystem <ilostwaldo@gmail.com>
parents:
diff changeset
1 from django.conf import settings
7a27b1c9cb84 Add LESS compilation (toggled in settings)
dellsystem <ilostwaldo@gmail.com>
parents:
diff changeset
2
7a27b1c9cb84 Add LESS compilation (toggled in settings)
dellsystem <ilostwaldo@gmail.com>
parents:
diff changeset
3
7a27b1c9cb84 Add LESS compilation (toggled in settings)
dellsystem <ilostwaldo@gmail.com>
parents:
diff changeset
4 def less_compilation(request):
7a27b1c9cb84 Add LESS compilation (toggled in settings)
dellsystem <ilostwaldo@gmail.com>
parents:
diff changeset
5 return {'compile_less': settings.COMPILE_LESS}