Files
edx-platform/common/djangoapps/entitlements/apps.py
Kyle McCormick 9aefd6f986 style: django-not-configured is not a sensible lint-amnesty value (#26862)
django-not-configured is an error raised by pylint (with
the pylint-django plugin) when it's not correctly configured.

We should not be applying lint amnesty for such a violation.
2021-03-05 08:11:58 -05:00

23 lines
511 B
Python

"""
Entitlements Application Configuration
Signal handlers are connected here.
"""
from django.apps import AppConfig
class EntitlementsConfig(AppConfig):
"""
Application Configuration for Entitlements.
"""
name = 'common.djangoapps.entitlements'
def ready(self):
"""
Connect handlers to signals.
"""
from . import signals # pylint: disable=unused-import
from .tasks import expire_old_entitlements # lint-amnesty, pylint: disable=unused-import