Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
roomlist
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
roomlist
Commits
74df4742
Commit
74df4742
authored
Jun 16, 2017
by
Nicholas Anderson (Albert)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated config closer to production
parent
ce54a5c7
Pipeline
#1390
passed with stage
in 3 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
roomlist/settings/production.py
roomlist/settings/production.py
+15
-6
No files found.
roomlist/settings/production.py
View file @
74df4742
...
...
@@ -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