Commit 3f99fe4c by John Eskew

Move bookmarks startup.py over to AppConfig::ready

parent a2cc679b
...@@ -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',
......
...@@ -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',
......
"""
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
"""
Setup the signals on startup.
"""
from . import signals # pylint: disable=unused-import
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment