Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a32f3373
Commit
a32f3373
authored
Dec 04, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renmaing prod.py and setting more defaults
parent
73c9b4c9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
cms/envs/common.py
+2
-0
cms/envs/yaml-config.py
+1
-0
lms/envs/common.py
+2
-0
lms/envs/yaml-config.py
+2
-4
No files found.
cms/envs/common.py
View file @
a32f3373
...
@@ -769,3 +769,5 @@ CAS_ATTRIBUTE_CALLBACK = None
...
@@ -769,3 +769,5 @@ CAS_ATTRIBUTE_CALLBACK = None
MICROSITE_ROOT_DIR
=
''
MICROSITE_ROOT_DIR
=
''
SEGMENT_IO
=
False
SEGMENT_IO
=
False
DATADOG
=
{}
DATADOG
=
{}
ADDL_INSTALLED_APPS
=
[]
LOCAL_LOGLEVEL
=
'INFO'
cms/envs/
prod
.py
→
cms/envs/
yaml-config
.py
View file @
a32f3373
...
@@ -196,6 +196,7 @@ for app in ADDL_INSTALLED_APPS:
...
@@ -196,6 +196,7 @@ for app in ADDL_INSTALLED_APPS:
LOGGING
=
get_logger_config
(
LOG_DIR
,
LOGGING
=
get_logger_config
(
LOG_DIR
,
local_loglevel
=
LOCAL_LOGLEVEL
,
logging_env
=
LOGGING_ENV
,
logging_env
=
LOGGING_ENV
,
debug
=
False
,
debug
=
False
,
service_variant
=
SERVICE_VARIANT
)
service_variant
=
SERVICE_VARIANT
)
...
...
lms/envs/common.py
View file @
a32f3373
...
@@ -1921,3 +1921,5 @@ SEGMENT_IO_LMS = False
...
@@ -1921,3 +1921,5 @@ SEGMENT_IO_LMS = False
MONGODB_LOG
=
{}
MONGODB_LOG
=
{}
SESSION_INACTIVITY_TIMEOUT_IN_SECONDS
=
None
SESSION_INACTIVITY_TIMEOUT_IN_SECONDS
=
None
ADDL_INSTALLED_APPS
=
[]
LOCAL_LOGLEVEL
=
'INFO'
lms/envs/
prod
.py
→
lms/envs/
yaml-config
.py
View file @
a32f3373
...
@@ -207,14 +207,12 @@ BULK_EMAIL_ROUTING_KEY = HIGH_PRIORITY_QUEUE
...
@@ -207,14 +207,12 @@ BULK_EMAIL_ROUTING_KEY = HIGH_PRIORITY_QUEUE
LANGUAGE_DICT
=
dict
(
LANGUAGES
)
LANGUAGE_DICT
=
dict
(
LANGUAGES
)
# Additional installed apps
# Additional installed apps
for
app
in
ENV_TOKENS
.
get
(
'ADDL_INSTALLED_APPS'
,
[])
:
for
app
in
ADDL_INSTALLED_APPS
:
INSTALLED_APPS
+=
(
app
,)
INSTALLED_APPS
+=
(
app
,)
local_loglevel
=
ENV_TOKENS
.
get
(
'LOCAL_LOGLEVEL'
,
'INFO'
)
LOGGING
=
get_logger_config
(
LOG_DIR
,
LOGGING
=
get_logger_config
(
LOG_DIR
,
logging_env
=
LOGGING_ENV
,
logging_env
=
LOGGING_ENV
,
local_loglevel
=
local_loglevel
,
local_loglevel
=
LOCAL_LOGLEVEL
,
debug
=
False
,
debug
=
False
,
service_variant
=
SERVICE_VARIANT
)
service_variant
=
SERVICE_VARIANT
)
...
...
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