summaryrefslogtreecommitdiffstats
path: root/askbot/setup_templates
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-04 19:18:24 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-04 19:18:24 -0400
commitd199a0af53e36311ccfd94c9581e00c952e63a0a (patch)
tree5e8c18365a3922d15bea8b626979c224d2a08eaf /askbot/setup_templates
parentd8c42b6689c887cb8aa9850fb16d515ea381fb72 (diff)
downloadaskbot-d199a0af53e36311ccfd94c9581e00c952e63a0a.tar.gz
askbot-d199a0af53e36311ccfd94c9581e00c952e63a0a.tar.bz2
askbot-d199a0af53e36311ccfd94c9581e00c952e63a0a.zip
updated the setup template files
Diffstat (limited to 'askbot/setup_templates')
-rw-r--r--askbot/setup_templates/settings.py6
-rw-r--r--askbot/setup_templates/settings.py.mustache6
2 files changed, 12 insertions, 0 deletions
diff --git a/askbot/setup_templates/settings.py b/askbot/setup_templates/settings.py
index 3b41dfbd..62a7b49c 100644
--- a/askbot/setup_templates/settings.py
+++ b/askbot/setup_templates/settings.py
@@ -170,6 +170,7 @@ INSTALLED_APPS = (
'django.contrib.humanize',
'django.contrib.sitemaps',
'django.contrib.messages',
+ 'compressor',
#'debug_toolbar',
#'haystack',
'askbot',
@@ -297,3 +298,8 @@ GROUP_MESSAGING = {
}
ASKBOT_MULTILINGUAL = False
+
+if ASKBOT_CSS_DEVEL == True:
+ COMPRESS_PRECOMPILERS = (
+ ('text/less', 'lessc {infile} {outfile}'),
+ )
diff --git a/askbot/setup_templates/settings.py.mustache b/askbot/setup_templates/settings.py.mustache
index 61ee5993..b2893b3c 100644
--- a/askbot/setup_templates/settings.py.mustache
+++ b/askbot/setup_templates/settings.py.mustache
@@ -167,6 +167,7 @@ INSTALLED_APPS = (
#'debug_toolbar',
#Optional, to enable haystack search
#'haystack',
+ 'compressor',
'askbot',
'askbot.deps.django_authopenid',
#'askbot.importers.stackexchange', #se loader
@@ -288,3 +289,8 @@ GROUP_MESSAGING = {
}
ASKBOT_MULTILINGUAL = False
+
+if ASKBOT_CSS_DEVEL == True:
+ COMPRESS_PRECOMPILERS = (
+ ('text/less', 'lessc {infile} {outfile}'),
+ )