Commit 3be0fa81 by Troy Sankey

Move verify_student signal registration to ready()

parent 22f9530d
"""
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
...@@ -2129,7 +2129,7 @@ INSTALLED_APPS = [ ...@@ -2129,7 +2129,7 @@ INSTALLED_APPS = [
'bulk_enroll', 'bulk_enroll',
# Student Identity Verification # Student Identity Verification
'lms.djangoapps.verify_student', 'lms.djangoapps.verify_student.apps.VerifyStudentConfig',
# Dark-launching languages # Dark-launching languages
'openedx.core.djangoapps.dark_lang', 'openedx.core.djangoapps.dark_lang',
......
...@@ -11,5 +11,5 @@ INSTALLED_APPS = [ ...@@ -11,5 +11,5 @@ INSTALLED_APPS = [
'django.contrib.auth', 'django.contrib.auth',
'django.contrib.contenttypes', '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