Download apps/chat_records/apps.py from jun2024/fc: direct link, hf CLI and curl.
- Browser
- Download file 448 Bytes
-
https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/chat_records/apps.py
- Command line
-
hf download hf://spaces/jun2024/fc/apps/chat_records/apps.py
-
curl -L -o apps.py https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/chat_records/apps.py
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 信号处理器 | |