annotate context_processors.py @ 203:c5087ce140c9

modified snippets model file to add rating field. This series of updates should be applied carefully and south should be used so that it can add additional fields into the database without resetting the database
author Ahsan Ali Shahid <ahsan.ali.shahid@gmail.com>
date Fri, 19 Jul 2013 22:11:52 +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}