skip to Main Content

Redis – django channels WebsocketCommunicator TimeoutError

I am trying to run the following test: tests.py from rest_framework.test import APITestCase from myapp.routing import application from channels.testing import WebsocketCommunicator from account.models import User from rest_framework.authtoken.models import Token class Tests(APITestCase): def setUp(self): self.user = User.objects.create(email='[email protected]', password='a password') self.token, created…

VIEW QUESTION

pip won't install channels_redis

for working with Django channels I need to install "channels_redis". while installing "channels_redis" I face this error, any thought? by the way, I'm on windows and it showed me an error of C++ first and after installing Microsoft visual studio…

VIEW QUESTION

Channels_redis causing the error AttributeError: 'Redis' object has no attribute 'bzpopmin'

I am facing the following error message on my Django application: Exception inside application: 'Redis' object has no attribute 'bzpopmin' Traceback (most recent call last): File "/home/jack/.conda/envs/GuessWhich/lib/python3.7/site-packages/channels/staticfiles.py", line 44, in __call__ return await self.application(scope, receive, send) File "/home/jack/.conda/envs/GuessWhich/lib/python3.7/site-packages/channels/routing.py", line 71,…

VIEW QUESTION
Back To Top
Search