mirror of
https://github.com/dartdavros/chatballs.git
synced 2026-10-05 09:14:58 +03:00
16 lines
597 B
Python
16 lines
597 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class ConversationsConfig(AppConfig):
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
label = "conversations"
|
|
name = "chatballs.conversations"
|
|
verbose_name = "Conversations (contacts, dialogs, messages)"
|
|
|
|
def ready(self) -> None:
|
|
# Свежесть диалога поддерживает сигнал: сообщения создаются в семи местах.
|
|
from chatballs.conversations import (
|
|
event_handlers, # noqa: F401 (register outbox handlers)
|
|
signals, # noqa: F401
|
|
)
|