23 lines
517 B
Python
23 lines
517 B
Python
"""
|
|
Certificates Application Configuration
|
|
|
|
Signal handlers are connected here.
|
|
"""
|
|
|
|
from django.apps import AppConfig
|
|
|
|
|
|
class CertificatesConfig(AppConfig):
|
|
"""
|
|
Application Configuration for Certificates.
|
|
"""
|
|
name = u'certificates'
|
|
|
|
def ready(self):
|
|
"""
|
|
Connect handlers to signals.
|
|
"""
|
|
# Can't import models at module level in AppConfigs, and models get
|
|
# included from the signal handlers
|
|
from . import signals # pylint: disable=unused-variable
|