14 lines
375 B
Python
14 lines
375 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class PxSourcesConfig(AppConfig):
|
|
default_auto_field = 'django.db.models.BigAutoField'
|
|
name = 'apps.px_sources'
|
|
verbose_name = 'PX Sources'
|
|
|
|
def ready(self):
|
|
"""Import signals when app is ready"""
|
|
try:
|
|
import apps.px_sources.signals # noqa: F401
|
|
except ImportError:
|
|
pass |