* feat: add idv events to api - moved what was in signals.py to a handlers.py (which is what their file should have been called) * chore: quality * fix: rename test file + imports * fix: change handler reverse url in other tests * fix: refactor signals and handlers pattern - following OEP-49 pattern for signals directory - user removed as param for update function - event now emitted after save * fix: unpin edx-name-affirmation * chore: add init to signals dir * fix: compile requirements * chore: quality * chore: fix some imports * chore: quality * test: added signal emissions to test_api * chore: lint
22 lines
569 B
Python
22 lines
569 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.signals import signals # pylint: disable=unused-import
|
|
from lms.djangoapps.verify_student import tasks # pylint: disable=unused-import
|