//服务器设置..。
this is the part of the code, now i have to send the stored data to other clients connected,the case is 'n' no.of application with 'n' no.of clients, so i have to create channels here dynamically. am asking u to help me by giving ideas for creatin
我有一个基于类的视图,它继承自带有get和post函数的ApiView。我编写了一个定制的混入,为post请求添加了接受对象列表和单个对象的功能。当我让类继承混入时,什么也不会发生 class CreateListModelMixin:
""" if an array is passed, set serializer to many """
if isinstance(kwargs.get('data'