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.
23 lines
511 B
Python
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
|