diff --git a/lms/djangoapps/verify_student/__init__.py b/lms/djangoapps/verify_student/__init__.py index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..cf9ef2ad1589ec3a081884beee53e6fd9ac63222 100644 --- a/lms/djangoapps/verify_student/__init__.py +++ b/lms/djangoapps/verify_student/__init__.py @@ -0,0 +1,3 @@ +""" +Student Identity Verification App +""" diff --git a/lms/djangoapps/verify_student/apps.py b/lms/djangoapps/verify_student/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..3d07692b14fca67c209c0b5902f75c9aa665d71b --- /dev/null +++ b/lms/djangoapps/verify_student/apps.py @@ -0,0 +1,19 @@ +""" +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 diff --git a/lms/djangoapps/verify_student/startup.py b/lms/djangoapps/verify_student/startup.py deleted file mode 100644 index 8045c5f972ce9fde80cb45d24bb770c038821065..0000000000000000000000000000000000000000 --- a/lms/djangoapps/verify_student/startup.py +++ /dev/null @@ -1,4 +0,0 @@ -""" -Setup the signals on startup. -""" -import lms.djangoapps.verify_student.signals # pylint: disable=unused-import diff --git a/lms/envs/common.py b/lms/envs/common.py index 656a7a02a3e8f646e845c705334963721acc99cf..9d84f3f64a6334a87ee44d3aaf02b4ddd419fbd4 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -2129,7 +2129,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', diff --git a/lms/envs/test_with_mysql.py b/lms/envs/test_with_mysql.py index 65ed10a56b08f97ef7c5fd43884bd728f8e81bb4..aad9b6ec8a4fe04dacebc84c2d66a34955d3a1f1 100644 --- a/lms/envs/test_with_mysql.py +++ b/lms/envs/test_with_mysql.py @@ -11,5 +11,5 @@ INSTALLED_APPS = [ 'django.contrib.auth', 'django.contrib.contenttypes', - 'lms.djangoapps.verify_student', + 'lms.djangoapps.verify_student.apps.VerifyStudentConfig', ]