annotate context_processors.py @ 212:b3c3d940cc87

Allow everyone to see snippets, not just registered users
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Thu, 16 Jan 2014 10:48:27 -0500
parents 7a27b1c9cb84
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}