File size: 404 Bytes
b4f2238
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from __future__ import annotations

from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _


class ExpressQueryConfig(AppConfig):
    default_auto_field = "django.db.models.BigAutoField"
    name = "apps.express_query"
    verbose_name = _("快递查询")

    def ready(self) -> None:
        """应用启动时连接信号"""
        import apps.express_query.signals