Files
edx-platform/openedx/core/djangoapps/credit/apps.py
2019-12-30 12:25:38 -05:00

22 lines
563 B
Python

"""
Credit Application Configuration
"""
from django.apps import AppConfig
from django.conf import settings
from edx_proctoring.runtime import set_runtime_service
class CreditConfig(AppConfig):
"""
Default configuration for the "openedx.core.djangoapps.credit" Django application.
"""
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())