Skip to content

Commit

Permalink
Turned off DEBUG in django settings.py
Browse files Browse the repository at this point in the history
Fixes #910
  • Loading branch information
dkliban committed Apr 28, 2015
1 parent fc29d0f commit ff59e52
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions docs/user-guide/installation.rst
Expand Up @@ -240,6 +240,9 @@ Server

`SSLProtocol all -SSLv2 -SSLv3`

.. warning::
It is recommended that the web server only serves Pulp services.

#. Start Apache httpd and set it to start on boot. For Upstart based systems::

$ sudo service httpd start
Expand Down
7 changes: 3 additions & 4 deletions server/pulp/server/webservices/settings.py
Expand Up @@ -3,15 +3,14 @@
import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'I_am_a_secret_that_is_never_used_meaningfully_by_pulp'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False

TEMPLATE_DEBUG = True
TEMPLATE_DEBUG = False

ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['*']


# Application definition
Expand Down

0 comments on commit ff59e52

Please sign in to comment.