diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2014-06-15 10:53:13 -0300 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2014-06-15 10:53:13 -0300 |
commit | 5da3bda6f7fad90b8dc84994702edaaa5c82bb3b (patch) | |
tree | a13c6fe9c2318f596da049d4e214cfed69d803b0 | |
parent | f93763be5bced6ec3f4d82e031ae4e49f6625e83 (diff) | |
parent | 4d940c7f309f1e5d5d33972ac7643a1fef725538 (diff) | |
download | askbot-5da3bda6f7fad90b8dc84994702edaaa5c82bb3b.tar.gz askbot-5da3bda6f7fad90b8dc84994702edaaa5c82bb3b.tar.bz2 askbot-5da3bda6f7fad90b8dc84994702edaaa5c82bb3b.zip |
Merge pull request #156 from dmzio/corrsettings
fixes #155
-rw-r--r-- | askbot/setup_templates/settings.py | 6 | ||||
-rw-r--r-- | askbot/setup_templates/settings.py.mustache | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/askbot/setup_templates/settings.py b/askbot/setup_templates/settings.py index 7a856f6f..1345cf7b 100644 --- a/askbot/setup_templates/settings.py +++ b/askbot/setup_templates/settings.py @@ -9,11 +9,13 @@ 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 = ['*',]#change this for better security on your site +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 8a781ea3..d8bab559 100644 --- a/askbot/setup_templates/settings.py.mustache +++ b/askbot/setup_templates/settings.py.mustache @@ -9,11 +9,13 @@ 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 = ['*',]#change this for better security on your site +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'), ) |