If my Channels 2 knowledge serves me right, your group names for these two
> consumers should be unique. The group names should determine which
> consumer's assignQuiz method is executed.
>
> Hope this helps!
>
> On Wed, Jun 12, 2019 at 9:25 PM Arean Bbay > wrote:
>
I have 2 consumers, namely StudentConsumer and InstructorConsumer.So if the
url is:
ws://quizz_poll//student, it will be routed to the former.
otherwise ws://quizz_poll//instructor, then it will be routed to the latter.
Within studentConsumer is a assignQuizzz(...) method. What I want to do is
I want certain users to have the ability to join a group, if it is already
created but not create one. In order to do that I need a way to check it.
How to do that?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
I would like to make a channel to be able to check if a group exists, so
that it can join.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
4 matches
Mail list logo