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
962f2ff5
Commit
962f2ff5
authored
Nov 08, 2017
by
Bessie Steinberg
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bfiller/debug-and-enterprise' into bessie-local
parents
c8a81c59
f3d144c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
manage.py
+5
-1
openedx/features/enterprise_support/api.py
+3
-1
No files found.
manage.py
View file @
962f2ff5
...
...
@@ -112,5 +112,9 @@ if __name__ == "__main__":
startup
.
run
()
from
django.core.management
import
execute_from_command_line
import
ptvsd
try
:
ptvsd
.
enable_attach
(
"my_secret"
,
address
=
(
'0.0.0.0'
,
21000
))
except
:
pass
execute_from_command_line
([
sys
.
argv
[
0
]]
+
django_args
)
openedx/features/enterprise_support/api.py
View file @
962f2ff5
...
...
@@ -322,7 +322,9 @@ def enterprise_enabled():
"""
Determines whether the Enterprise app is installed
"""
return
'enterprise'
in
settings
.
INSTALLED_APPS
and
settings
.
FEATURES
.
get
(
'ENABLE_ENTERPRISE_INTEGRATION'
,
False
)
is_enabled
=
'enterprise'
in
settings
.
INSTALLED_APPS
and
settings
.
FEATURES
.
get
(
'ENABLE_ENTERPRISE_INTEGRATION'
,
False
)
LOGGER
.
warning
(
"BF!! enterprise enabled=
%
s"
,
is_enabled
)
return
is_enabled
def
enterprise_customer_uuid_for_request
(
request
):
...
...
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