chat qo'shildi

This commit is contained in:
2026-04-02 20:50:00 +05:00
parent 878301605c
commit 8f54bdedc2
44 changed files with 1344 additions and 13 deletions

View File

@@ -0,0 +1 @@
from .chat import * # noqa

View File

@@ -0,0 +1,17 @@
from django import forms
from core.apps.chat.models import ChatmessageModel, ChatroomModel
class ChatmessageForm(forms.ModelForm):
class Meta:
model = ChatmessageModel
fields = "__all__"
class ChatroomForm(forms.ModelForm):
class Meta:
model = ChatroomModel
fields = "__all__"