annotate context_processors.py @ 195:baf8776dc44d

added code for the integration of comment system into bundles and snippets. database sync must be run so that necessary tables is created for the comments to work properly.
author ahsanalishahid <ahsan.ali.shahid@gmail.com>
date Tue, 02 Jul 2013 02:09:21 +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}