view context_processors.py @ 208:a22259c9862e

Removed redundant code for ratings field and add a separate template file for ratings field. Now ratings will be handled by Jquery.
author Ahsan Ali Shahid <ahsan.ali.shahid@gmail.com>
date Wed, 21 Aug 2013 03:52:06 +0500
parents 7a27b1c9cb84
children
line wrap: on
line source

from django.conf import settings


def less_compilation(request):
    return {'compile_less': settings.COMPILE_LESS}