def tabzilla_css_redirect(r): suffix = '/tabzilla.less' if settings.TEMPLATE_DEBUG else '-min' if settings.LESS_PREPROCESS: from jingo_minify.helpers import build_less build_less('css/tabzilla/tabzilla.less') return '%scss/tabzilla%s.css' % (settings.MEDIA_URL, suffix)
def tabzilla_css_redirect(r): suffix = "/tabzilla.less" if settings.TEMPLATE_DEBUG else "-min" if settings.LESS_PREPROCESS: from jingo_minify.helpers import build_less build_less("css/tabzilla/tabzilla.less") return "%scss/tabzilla%s.css" % (settings.MEDIA_URL, suffix)