chat qo'shildi
This commit is contained in:
1
core/apps/chat/validators/__init__.py
Normal file
1
core/apps/chat/validators/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from .chat import * # noqa
|
||||
15
core/apps/chat/validators/chat.py
Normal file
15
core/apps/chat/validators/chat.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# from django.core.exceptions import ValidationError
|
||||
|
||||
|
||||
class ChatmessageValidator:
|
||||
def __init__(self): ...
|
||||
|
||||
def __call__(self):
|
||||
return True
|
||||
|
||||
|
||||
class ChatroomValidator:
|
||||
def __init__(self): ...
|
||||
|
||||
def __call__(self):
|
||||
return True
|
||||
Reference in New Issue
Block a user