jrief / django-websocket-redis

Websockets for Django applications using Redis as message queue
http://django-websocket-redis.awesto.com/
MIT License
896 stars 222 forks source link

Making WS4REDIS_ALLOWED_CHANNELS accept strings #158

Closed srtonz closed 8 years ago

srtonz commented 8 years ago

Small patch for wsgi_server.py to ensure that users can set WS4REDIS_ALLOWED_CHANNELS to a module string as common in most django applications.

Modified UnitTests accordingly and added the setting into configuration docs.

jrief commented 8 years ago

Doesn't make much sense to me right now, but I can see it useful for others. I hope it has no unwanted side-effects.