diff 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 diff
new file mode 100644
--- /dev/null
+++ b/context_processors.py
@@ -0,0 +1,5 @@
+from django.conf import settings
+
+
+def less_compilation(request):
+    return {'compile_less': settings.COMPILE_LESS}