Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
39556550
Commit
39556550
authored
Jun 16, 2017
by
Daniel W Bond
Browse files
Merge branch 'master' of git.gmu.edu:srct/roomlist
parents
5c9b1b5e
74df4742
Pipeline
#1394
passed with stage
in 3 minutes and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roomlist/settings/production.py
View file @
39556550
...
...
@@ -7,7 +7,7 @@ from . import secret
DEBUG
=
False
TEMPLATE_DEBUG
=
False
ALLOWED_HOSTS
=
[
'
127.0.0.1
'
]
ALLOWED_HOSTS
=
[
'
roomlist.gmu.edu
'
]
PIWIK_DOMAIN_PATH
=
'https://piwik.srct.gmu.edu/'
PIWIK_SITE_ID
=
4
...
...
@@ -15,11 +15,11 @@ PIWIK_SITE_ID = 4
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'django.db.backends.mysql'
,
'NAME'
:
''
,
'USER'
:
''
,
'NAME'
:
secret
.
DB_NAME
,
'USER'
:
secret
.
DB_USER
,
'PASSWORD'
:
secret
.
DB_PASSWORD
,
'HOST'
:
''
,
'PORT'
:
''
,
'HOST'
:
secret
.
DB_HOST
,
'PORT'
:
secret
.
DB_PORT
,
}
}
...
...
@@ -70,13 +70,22 @@ LOGGING = {
# the ones the print everything out to the terminal
# and the ones that email on SuspiciousOperation occurrences
'disable_existing_loggers'
:
False
,
'formatters'
:
{
'verbose'
:
{
'format'
:
'%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'
,
},
'simple'
:
{
'format'
:
'%(levelname)s %(asctime)s %(message)s'
},
},
'handlers'
:
{
'file'
:
{
'level'
:
'WARNING'
,
'class'
:
'logging.FileHandler'
,
'formatter'
:
'verbose'
,
# make sure to change this to the proper path, and one that
# can be written to
'filename'
:
'/
path/to/django
/debug.log'
,
'filename'
:
'/
srv/roomlist
/debug.log'
,
},
# 'mail_admins' by default does not include a traceback attachment
# setting 'include_html' to True will attach an html traceback file to the email
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment