Files
edx-platform/cms/djangoapps/contentstore/apps.py
M. Zulqarnain 5562944e87 BOM-2369 (A): pyupgrade on api,contentstore and cms_user_tasks apps under CMS (#26676)
* pyupgrade on cms api,contentstore and cms_user_tasks apps
2021-03-04 15:06:07 +05:00

24 lines
562 B
Python

"""
Contentstore Application Configuration
Above-modulestore level signal handlers are connected here.
"""
from django.apps import AppConfig
class ContentstoreConfig(AppConfig):
"""
Application Configuration for Contentstore.
"""
name = 'cms.djangoapps.contentstore'
def ready(self):
"""
Connect handlers to signals.
"""
# Can't import models at module level in AppConfigs, and models get
# included from the signal handlers
from .signals import handlers # pylint: disable=unused-import