socket.get(request, message)
File "/home/samuel/Documents/code/revamp/gallery/socket.py", line 13, in get
self.redis_publisher.publish_message(message)
File "/usr/local/lib/python2.7/dist-packages/ws4redis/redis_store.py", line 110, in publish_message
raise ValueError('message object is not of type RedisMessage')
ValueError: message object is not of type RedisMessage
I'm learning how to setup django-websocket with redis https://django-websocket-redis.readthedocs.io/en/latest/api.html#use-redispublisher-from-inside-django-views and I'm calling it like this
in the view
I'm getting this error