Mercurial > agora-palash
view context_processors.py @ 183:cdcbfaa65cfe
Catch integrity error when creating bundles
If the user has already created a bundle with that name, then the form
should raise a ValidationError instead of showing a 500.
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Sat, 27 Oct 2012 15:41:58 -0400 |
parents | 7a27b1c9cb84 |
children |
line wrap: on
line source
from django.conf import settings def less_compilation(request): return {'compile_less': settings.COMPILE_LESS}