summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.tx/config4
-rw-r--r--askbot/startup_procedures.py12
2 files changed, 8 insertions, 8 deletions
diff --git a/.tx/config b/.tx/config
index 97c5769c..1c3967b6 100644
--- a/.tx/config
+++ b/.tx/config
@@ -1,12 +1,12 @@
[main]
host = https://www.transifex.net
-[askbot.askbot-translation-part1]
+[askbot.askbot-translation-part1-main]
file_filter = askbot/locale/<lang>/LC_MESSAGES/django.po
source_file = askbot/locale/en/LC_MESSAGES/django.po
source_lang = en
-[askbot.askbot-translation-part2]
+[askbot.askbot-translation-part2-js]
file_filter = askbot/locale/<lang>/LC_MESSAGES/djangojs.po
source_file = askbot/locale/en/LC_MESSAGES/djangojs.po
source_lang = en
diff --git a/askbot/startup_procedures.py b/askbot/startup_procedures.py
index e8dec45f..94d9b852 100644
--- a/askbot/startup_procedures.py
+++ b/askbot/startup_procedures.py
@@ -177,12 +177,12 @@ def test_template_loader():
loader that used to send a warning"""
old_template_loader = 'askbot.skins.loaders.load_template_source'
if old_template_loader in django_settings.TEMPLATE_LOADERS:
- askbot_warning(
- 'In TEMPLATE_LOADERS settings you have an old style '
- 'template loader that throws a Warning on logs '
- 'please change: askbot.skins.loaders.load_template_source '
- 'for: askbot.skins.loaders.filesystem_load_template_source'
- )
+ raise ImproperlyConfigured(PREAMBLE + \
+ "\nPlease change: \n"
+ "'askbot.skins.loaders.load_template_source', to\n"
+ "'askbot.skins.loaders.filesystem_load_template_source',\n"
+ "in the TEMPLATE_LOADERS of your settings.py file"
+ )
def run_startup_tests():
"""function that runs