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
09bd0244
Commit
09bd0244
authored
Nov 08, 2017
by
John Eskew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move ccxcon, credit, and programs Django apps to AppConfig standard.
parent
319aa877
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
8 deletions
+17
-8
lms/envs/common.py
+1
-1
openedx/core/djangoapps/ccxcon/apps.py
+1
-1
openedx/core/djangoapps/credit/__init__.py
+0
-3
openedx/core/djangoapps/credit/apps.py
+1
-0
openedx/core/djangoapps/programs/__init__.py
+0
-3
openedx/core/djangoapps/programs/apps.py
+14
-0
No files found.
lms/envs/common.py
View file @
09bd0244
...
...
@@ -2251,7 +2251,7 @@ INSTALLED_APPS = [
'xblock_django'
,
# programs support
'openedx.core.djangoapps.programs'
,
'openedx.core.djangoapps.programs
.apps.ProgramsConfig
'
,
# Catalog integration
'openedx.core.djangoapps.catalog'
,
...
...
openedx/core/djangoapps/ccxcon/apps.py
View file @
09bd0244
...
...
@@ -10,4 +10,4 @@ class CCXConnectorConfig(AppConfig):
verbose_name
=
"CCX Connector"
def
ready
(
self
):
import
openedx.core.djangoapps.ccxcon.
signals
from
.
import
signals
openedx/core/djangoapps/credit/__init__.py
View file @
09bd0244
""" Register signal handlers """
from
.
import
signals
openedx/core/djangoapps/credit/apps.py
View file @
09bd0244
...
...
@@ -14,6 +14,7 @@ class CreditConfig(AppConfig):
name
=
u'openedx.core.djangoapps.credit'
def
ready
(
self
):
from
.
import
signals
if
settings
.
FEATURES
.
get
(
'ENABLE_SPECIAL_EXAMS'
):
from
.services
import
CreditService
set_runtime_service
(
'credit'
,
CreditService
())
openedx/core/djangoapps/programs/__init__.py
View file @
09bd0244
...
...
@@ -8,6 +8,3 @@ if and only if the service is deployed in the Open edX installation.
To ensure maximum separation of concerns, and a minimum of interdependencies,
this package should be kept small, thin, and stateless.
"""
# Register signal handlers
from
.
import
signals
openedx/core/djangoapps/programs/apps.py
0 → 100644
View file @
09bd0244
"""
Programs Configuration
"""
from
django.apps
import
AppConfig
class
ProgramsConfig
(
AppConfig
):
"""
Default configuration for the "openedx.core.djangoapps.programs" Django application.
"""
name
=
u'openedx.core.djangoapps.programs'
def
ready
(
self
):
from
.
import
signals
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