summaryrefslogtreecommitdiffstats
path: root/askbot/startup_procedures.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-03-19 15:49:59 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-03-19 15:49:59 -0400
commita3596220c202acb29eb7263e0548386243e4c0c7 (patch)
tree33c29526cdb2419330ce2cc80e517dc7f731823e /askbot/startup_procedures.py
parent6f5cf3980dd30aa493ef1ffef0aaa63eb201dc70 (diff)
downloadaskbot-a3596220c202acb29eb7263e0548386243e4c0c7.tar.gz
askbot-a3596220c202acb29eb7263e0548386243e4c0c7.tar.bz2
askbot-a3596220c202acb29eb7263e0548386243e4c0c7.zip
commented out the unnecessary setting
Diffstat (limited to 'askbot/startup_procedures.py')
-rw-r--r--askbot/startup_procedures.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/askbot/startup_procedures.py b/askbot/startup_procedures.py
index d0d02aec..d612d824 100644
--- a/askbot/startup_procedures.py
+++ b/askbot/startup_procedures.py
@@ -609,7 +609,6 @@ def test_tinymce():
required_attrs = (
'TINYMCE_COMPRESSOR',
'TINYMCE_JS_ROOT',
- 'TINYMCE_JS_URL',
'TINYMCE_DEFAULT_CONFIG'
)
@@ -664,16 +663,6 @@ def test_tinymce():
error_tpl += '\nNote: we have moved files from "common" into "default"'
errors.append(error_tpl % relative_js_path)
- #check url setting
- url = getattr(django_settings, 'TINYMCE_JS_URL', '')
- expected_url = django_settings.STATIC_URL + relative_js_path + 'tiny_mce.js'
- old_expected_url = django_settings.STATIC_URL + old_relative_js_path
- if urls_equal(url, expected_url) is False:
- error_tpl = "add line: TINYMCE_JS_URL = STATIC_URL + '%s'"
- if urls_equal(url, old_expected_url):
- error_tpl += '\nNote: we have moved files from "common" into "default"'
- errors.append(error_tpl % relative_js_path)
-
if errors:
header = 'Please add the tynymce editor configuration ' + \
'to your settings.py file.'