summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzio <dmitry@dzeta.pp.ua>2013-08-19 15:49:29 +0300
committerzio <dmitry@dzeta.pp.ua>2013-08-19 15:49:29 +0300
commit4d940c7f309f1e5d5d33972ac7643a1fef725538 (patch)
tree0e3568e32538043ddabfc99f81e76e2eefd57220
parentcfa8d9fff9ad662bff5285180b2997c00ebacf9d (diff)
downloadaskbot-4d940c7f309f1e5d5d33972ac7643a1fef725538.tar.gz
askbot-4d940c7f309f1e5d5d33972ac7643a1fef725538.tar.bz2
askbot-4d940c7f309f1e5d5d33972ac7643a1fef725538.zip
fixes #155
-rw-r--r--askbot/setup_templates/settings.py6
-rw-r--r--askbot/setup_templates/settings.py.mustache6
2 files changed, 8 insertions, 4 deletions
diff --git a/askbot/setup_templates/settings.py b/askbot/setup_templates/settings.py
index c7745b14..29412d4f 100644
--- a/askbot/setup_templates/settings.py
+++ b/askbot/setup_templates/settings.py
@@ -9,10 +9,12 @@ import site
ASKBOT_ROOT = os.path.abspath(os.path.dirname(askbot.__file__))
site.addsitedir(os.path.join(ASKBOT_ROOT, 'deps'))
-DEBUG = True#set to True to enable debugging
-TEMPLATE_DEBUG = False#keep false when debugging jinja2 templates
+DEBUG = True # set to True to enable debugging
+TEMPLATE_DEBUG = False # keep false when debugging jinja2 templates
INTERNAL_IPS = ('127.0.0.1',)
+ALLOWED_HOSTS = [] # don't forget to set it to correct value, f.e. '.example.com' if DEBUG = False, otherwise you'll have a errors
+
ADMINS = (
('Your Name', 'your_email@domain.com'),
)
diff --git a/askbot/setup_templates/settings.py.mustache b/askbot/setup_templates/settings.py.mustache
index 55037b24..40f825ce 100644
--- a/askbot/setup_templates/settings.py.mustache
+++ b/askbot/setup_templates/settings.py.mustache
@@ -9,10 +9,12 @@ import site
ASKBOT_ROOT = os.path.abspath(os.path.dirname(askbot.__file__))
site.addsitedir(os.path.join(ASKBOT_ROOT, 'deps'))
-DEBUG = True#set to True to enable debugging
-TEMPLATE_DEBUG = False#keep false when debugging jinja2 templates
+DEBUG = True # set to True to enable debugging
+TEMPLATE_DEBUG = False # keep false when debugging jinja2 templates
INTERNAL_IPS = ('127.0.0.1',)
+ALLOWED_HOSTS = [] # don't forget to set it to correct value, f.e. '.example.com' if DEBUG = False, otherwise you'll have a errors
+
ADMINS = (
('Your Name', 'your_email@domain.com'),
)