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
12b8f9d9
Commit
12b8f9d9
authored
Sep 06, 2016
by
Cliff Dyer
Committed by
GitHub
Sep 06, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13372 from edx/cdyer/bs-app
Register block_structure djangoapp.
parents
9f059895
1371739f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
7 deletions
+46
-7
cms/envs/common.py
+2
-1
lms/envs/common.py
+2
-1
openedx/core/djangoapps/content/__init__.py
+0
-5
openedx/core/djangoapps/content/block_structure/apps.py
+23
-0
openedx/core/djangoapps/content/course_structures/apps.py
+19
-0
No files found.
cms/envs/common.py
View file @
12b8f9d9
...
...
@@ -876,7 +876,8 @@ INSTALLED_APPS = (
'edx_jsme'
,
# Molecular Structure
'openedx.core.djangoapps.content.course_overviews'
,
'openedx.core.djangoapps.content.course_structures'
,
'openedx.core.djangoapps.content.course_structures.apps.CourseStructuresConfig'
,
'openedx.core.djangoapps.content.block_structure.apps.BlockStructureConfig'
,
# Credit courses
'openedx.core.djangoapps.credit'
,
...
...
lms/envs/common.py
View file @
12b8f9d9
...
...
@@ -2033,7 +2033,8 @@ INSTALLED_APPS = (
# Course data caching
'openedx.core.djangoapps.content.course_overviews'
,
'openedx.core.djangoapps.content.course_structures'
,
'openedx.core.djangoapps.content.course_structures.apps.CourseStructuresConfig'
,
'openedx.core.djangoapps.content.block_structure.apps.BlockStructureConfig'
,
'lms.djangoapps.course_blocks'
,
# Old course structure API
...
...
openedx/core/djangoapps/content/__init__.py
View file @
12b8f9d9
"""
Setup the signals on startup.
"""
import
openedx.core.djangoapps.content.course_structures.signals
import
openedx.core.djangoapps.content.block_structure.signals
openedx/core/djangoapps/content/block_structure/apps.py
0 → 100644
View file @
12b8f9d9
"""
Configuration for block_structure djangoapp
"""
from
django.apps
import
AppConfig
class
BlockStructureConfig
(
AppConfig
):
"""
block_structure django app.
"""
name
=
u'openedx.core.djangoapps.content.block_structure'
def
ready
(
self
):
"""
Define tasks to perform at app loading time
* Connect signal handlers
* Register celery tasks
These happen at import time. Hence the unused imports
"""
from
.
import
signals
,
tasks
# pylint: disable=unused-variable
openedx/core/djangoapps/content/course_structures/apps.py
0 → 100644
View file @
12b8f9d9
"""
Django Application Configuration for course_structures app.
"""
from
django.apps
import
AppConfig
class
CourseStructuresConfig
(
AppConfig
):
"""
Custom AppConfig for openedx.core.djangoapps.content.course_structures
"""
name
=
u'openedx.core.djangoapps.content.course_structures'
def
ready
(
self
):
"""
Define tasks to perform at app loading time:
* Connect signal handlers
"""
from
.
import
signals
# pylint: disable=unused-variable
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