You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class TestConsumer(ObserverModelInstanceMixin, GenericAsyncAPIConsumer):
queryset = get_user_model().objects.all()
serializer_class = UserSerializer
When I subscribed to the model, I found that using the code in the example, the action subscribe_instance does not take effect, but the Retrieve is OK
Could you please tell me the details of use
thank you very much!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
class TestConsumer(ObserverModelInstanceMixin, GenericAsyncAPIConsumer):
queryset = get_user_model().objects.all()
serializer_class = UserSerializer
When I subscribed to the model, I found that using the code in the example, the action subscribe_instance does not take effect, but the Retrieve is OK
Could you please tell me the details of use
thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions