Commit 7bbecfdc by Troy Sankey Committed by GitHub

Merge pull request #16301 from edx/pwnage101/verify_student_app_startup

Move verify_student signal registration to ready()
parents 3608b862 3be0fa81
"""
Student Identity Verification Application Configuration
"""
from django.apps import AppConfig
class VerifyStudentConfig(AppConfig):
"""
Application Configuration for verify_student.
"""
name = 'lms.djangoapps.verify_student'
verbose_name = 'Student Identity Verification'
def ready(self):
"""
Connect signal handlers.
"""
from . import signals # pylint: disable=unused-variable
"""
Setup the signals on startup.
"""
import lms.djangoapps.verify_student.signals # pylint: disable=unused-import
......@@ -2136,7 +2136,7 @@ INSTALLED_APPS = [
'bulk_enroll',
# Student Identity Verification
'lms.djangoapps.verify_student',
'lms.djangoapps.verify_student.apps.VerifyStudentConfig',
# Dark-launching languages
'openedx.core.djangoapps.dark_lang',
......
......@@ -11,5 +11,5 @@ INSTALLED_APPS = [
'django.contrib.auth',
'django.contrib.contenttypes',
'lms.djangoapps.verify_student',
'lms.djangoapps.verify_student.apps.VerifyStudentConfig',
]
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