Mercurial > agora-palash
view context_processors.py @ 165:27de4f31f9d5
Add from __future__ import with_statement
The running Agora instance is using Python 2.5, and the with statement
needs a future import for 2.5
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Wed, 17 Oct 2012 10:29:14 -0400 |
parents | 7a27b1c9cb84 |
children |
line wrap: on
line source
from django.conf import settings def less_compilation(request): return {'compile_less': settings.COMPILE_LESS}