annotate context_processors.py @ 197:1341435d4d33

Fixed redirection issue . User was redirected to a greeting page before. Now user will be redirected to the same page on which the user commented.
author Ahsan Ali Shahid <ahsan.ali.shahid@gmail.com>
date Thu, 04 Jul 2013 20:32:54 +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}