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
OpenEdx
edx-platform
Commits
45952004
Commit
45952004
authored
Oct 05, 2017
by
muhammad-ammar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imports order
parent
c95cfecc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
cms/startup.py
+11
-9
No files found.
cms/startup.py
View file @
45952004
"""
"""
Module with code executed during Studio startup
Module with code executed during Studio startup
"""
"""
from
django.conf
import
settings
# Force settings to run so that the python path is modified
settings
.
INSTALLED_APPS
# pylint: disable=pointless-statement
from
openedx.core.lib.django_startup
import
autostartup
import
django
import
django
from
django.conf
import
settings
import
cms.lib.xblock.runtime
import
xmodule.x_module
from
openedx.core.djangoapps.monkey_patch
import
django_db_models_options
from
openedx.core.djangoapps.monkey_patch
import
django_db_models_options
from
openedx.core.djangoapps.theming.core
import
enable_theming
from
openedx.core.djangoapps.theming.helpers
import
is_comprehensive_theming_enabled
from
openedx.core.lib.django_startup
import
autostartup
from
openedx.core.lib.xblock_utils
import
xblock_local_resource_url
from
openedx.core.lib.xblock_utils
import
xblock_local_resource_url
from
openedx.core.release
import
doc_version
from
openedx.core.release
import
doc_version
from
startup_configurations.validate_config
import
validate_cms_config
# Force settings to run so that the python path is modified
import
xmodule.x_module
import
cms.lib.xblock.runtime
settings
.
INSTALLED_APPS
# pylint: disable=pointless-statement
from
startup_configurations.validate_config
import
validate_cms_config
from
openedx.core.djangoapps.theming.core
import
enable_theming
from
openedx.core.djangoapps.theming.helpers
import
is_comprehensive_theming_enabled
def
run
():
def
run
():
...
...
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