Hi!! I need a basic example of a program with channels 2.x (Django 2.x) that when it fulfills a condition, it calls a task celery 4.x and updates its status in a message in the html. (for example https://vincenttide.com/blog/1/django-channels-and-celery-example/)--
But i have the following error in consumer.py in "def mensaje": raise ValueError("No handler for message type %s" % message["type"]):
Mi code in consumers.py:
Mi code in tasks.py:
Mi code in html: how could I print "hi im celery" in the html?
Mi code in routing.py:
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e9f5278c-3386-4c45-ae00-be753e6745f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
|Free forum by Nabble||Edit this page|