Do not use rel="stylesheet/less" when TEMPLATE_DEBUG is False.