This follows the recommendation in the Celery documentation so as to not confuse automatic task name generation. Docs: https://docs.celeryproject.org/en/stable/userguide/tasks.html#automatic-naming-and-relative-imports
22 lines
561 B
Python
22 lines
561 B
Python
"""
|
|
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 lms.djangoapps.verify_student import signals # pylint: disable=unused-import
|
|
from lms.djangoapps.verify_student import tasks # pylint: disable=unused-import
|