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
4091bd15
Commit
4091bd15
authored
Oct 24, 2015
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10338 from edx/clintonb/private-settings-load
Failing startup if private settings fail to load
parents
89561d2f
7c6a30f1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
cms/envs/devstack.py
+4
-4
lms/envs/devstack.py
+3
-4
No files found.
cms/envs/devstack.py
View file @
4091bd15
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
Specific overrides to the base prod settings to make development easier.
Specific overrides to the base prod settings to make development easier.
"""
"""
from
os.path
import
abspath
,
dirname
,
join
from
.aws
import
*
# pylint: disable=wildcard-import, unused-wildcard-import
from
.aws
import
*
# pylint: disable=wildcard-import, unused-wildcard-import
# Don't use S3 in devstack, fall back to filesystem
# Don't use S3 in devstack, fall back to filesystem
...
@@ -115,10 +117,8 @@ REQUIRE_DEBUG = DEBUG
...
@@ -115,10 +117,8 @@ REQUIRE_DEBUG = DEBUG
###############################################################################
###############################################################################
# See if the developer has any local overrides.
# See if the developer has any local overrides.
try
:
if
os
.
path
.
isfile
(
join
(
dirname
(
abspath
(
__file__
)),
'private.py'
)):
from
.private
import
*
# pylint: disable=import-error
from
.private
import
*
# pylint: disable=import-error,wildcard-import
except
ImportError
:
pass
#####################################################################
#####################################################################
# Lastly, run any migrations, if needed.
# Lastly, run any migrations, if needed.
...
...
lms/envs/devstack.py
View file @
4091bd15
"""
"""
Specific overrides to the base prod settings to make development easier.
Specific overrides to the base prod settings to make development easier.
"""
"""
from
os.path
import
abspath
,
dirname
,
join
from
.aws
import
*
# pylint: disable=wildcard-import, unused-wildcard-import
from
.aws
import
*
# pylint: disable=wildcard-import, unused-wildcard-import
...
@@ -219,10 +220,8 @@ CORS_ORIGIN_ALLOW_ALL = True
...
@@ -219,10 +220,8 @@ CORS_ORIGIN_ALLOW_ALL = True
#####################################################################
#####################################################################
# See if the developer has any local overrides.
# See if the developer has any local overrides.
try
:
if
os
.
path
.
isfile
(
join
(
dirname
(
abspath
(
__file__
)),
'private.py'
)):
from
.private
import
*
# pylint: disable=wildcard-import
from
.private
import
*
# pylint: disable=import-error,wildcard-import
except
ImportError
:
pass
#####################################################################
#####################################################################
# Lastly, run any migrations, if needed.
# Lastly, run any migrations, if needed.
...
...
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