summaryrefslogtreecommitdiffstats
path: root/askbot/setup_templates/settings.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-24 04:27:16 -0700
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-24 04:27:16 -0700
commitd46221c621e9821a7ea75619588966ce99b4f1bc (patch)
treebbcf6d625a3c8b5be81d0f0fe893ce311cc33fc7 /askbot/setup_templates/settings.py
parentaeeb5f27b619af81d1067505ad0760a34494cfa8 (diff)
parent05d3f1e85aaa0e9f5e5fc5db78ac4949893027d6 (diff)
downloadaskbot-d46221c621e9821a7ea75619588966ce99b4f1bc.tar.gz
askbot-d46221c621e9821a7ea75619588966ce99b4f1bc.tar.bz2
askbot-d46221c621e9821a7ea75619588966ce99b4f1bc.zip
Merge pull request #129 from bobbydavid/nomigrate
Fix most of the tests when run in MySQL
Diffstat (limited to 'askbot/setup_templates/settings.py')
-rw-r--r--askbot/setup_templates/settings.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/askbot/setup_templates/settings.py b/askbot/setup_templates/settings.py
index 258a5989..1427e506 100644
--- a/askbot/setup_templates/settings.py
+++ b/askbot/setup_templates/settings.py
@@ -307,5 +307,9 @@ if 'ASKBOT_CSS_DEVEL' in locals() and ASKBOT_CSS_DEVEL == True:
)
COMPRESS_JS_FILTERS = []
-COMPRESS_PARSER = 'compressor.parser.HtmlParser'
+COMPRESS_PARSER = 'compressor.parser.HtmlParser'
JINJA2_EXTENSIONS = ('compressor.contrib.jinja2ext.CompressorExtension',)
+
+# Use syncdb for tests instead of South migrations. Without this, some tests
+# fail spuriously in MySQL.
+SOUTH_TESTS_MIGRATE = False