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
3f99fe4c
Commit
3f99fe4c
authored
Nov 02, 2017
by
John Eskew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move bookmarks startup.py over to AppConfig::ready
parent
a2cc679b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
7 deletions
+18
-7
cms/envs/common.py
+1
-1
lms/envs/common.py
+1
-1
openedx/core/djangoapps/bookmarks/apps.py
+16
-0
openedx/core/djangoapps/bookmarks/startup.py
+0
-5
No files found.
cms/envs/common.py
View file @
3f99fe4c
...
@@ -939,7 +939,7 @@ INSTALLED_APPS = [
...
@@ -939,7 +939,7 @@ INSTALLED_APPS = [
'openedx.core.djangoapps.service_status'
,
'openedx.core.djangoapps.service_status'
,
# Bookmarks
# Bookmarks
'openedx.core.djangoapps.bookmarks'
,
'openedx.core.djangoapps.bookmarks
.apps.BookmarksConfig
'
,
# Video module configs (This will be moved to Video once it becomes an XBlock)
# Video module configs (This will be moved to Video once it becomes an XBlock)
'openedx.core.djangoapps.video_config'
,
'openedx.core.djangoapps.video_config'
,
...
...
lms/envs/common.py
View file @
3f99fe4c
...
@@ -2076,7 +2076,7 @@ INSTALLED_APPS = [
...
@@ -2076,7 +2076,7 @@ INSTALLED_APPS = [
'openedx.core.djangoapps.video_config'
,
'openedx.core.djangoapps.video_config'
,
# Bookmarks
# Bookmarks
'openedx.core.djangoapps.bookmarks'
,
'openedx.core.djangoapps.bookmarks
.apps.BookmarksConfig
'
,
# Our courseware
# Our courseware
'courseware'
,
'courseware'
,
...
...
openedx/core/djangoapps/bookmarks/apps.py
0 → 100644
View file @
3f99fe4c
"""
Configuration for bookmarks Django app
"""
from
django.apps
import
AppConfig
class
BookmarksConfig
(
AppConfig
):
"""
Configuration class for bookmarks Django app
"""
name
=
'openedx.core.djangoapps.bookmarks'
verbose_name
=
"Bookmarks"
def
ready
(
self
):
# Register the signals handled by bookmarks.
from
.
import
signals
openedx/core/djangoapps/bookmarks/startup.py
deleted
100644 → 0
View file @
a2cc679b
"""
Setup the signals on startup.
"""
from
.
import
signals
# pylint: disable=unused-import
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