fc / apps /chat_records /apps.py
jun2024's picture
Upload 2241 files
b4f2238 verified
Raw History Blame Contribute Delete
448 Bytes
"""Django app configuration."""
from __future__ import annotations
from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class ChatRecordsConfig(AppConfig):
default_auto_field: str = "django.db.models.BigAutoField"
name: str = "apps.chat_records"
verbose_name = _("梳理聊天记录")
def ready(self) -> None:
from . import signals # 注册 post_delete 和 pre_save 信号处理器