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
18 lines
314 B
Python
18 lines
314 B
Python
"""
|
|
Coursegraph Application Configuration
|
|
|
|
Signal handlers are connected here.
|
|
"""
|
|
|
|
|
|
from django.apps import AppConfig
|
|
|
|
|
|
class CoursegraphConfig(AppConfig):
|
|
"""
|
|
AppConfig for courseware app
|
|
"""
|
|
name = 'openedx.core.djangoapps.coursegraph'
|
|
|
|
from openedx.core.djangoapps.coursegraph import tasks
|