Move bookmarks startup.py over to AppConfig::ready

This commit is contained in:
John Eskew
2017-11-02 16:39:30 -04:00
parent a2cc679b25
commit 3f99fe4c1b
4 changed files with 18 additions and 7 deletions

View File

@@ -0,0 +1,16 @@
"""
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

View File

@@ -1,5 +0,0 @@
"""
Setup the signals on startup.
"""
from . import signals # pylint: disable=unused-import