jrief / django-websocket-redis

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

make is_authenticated compatible with Django 1.10 #208

Closed tmehlinger closed 7 years ago

tmehlinger commented 7 years ago

Django 1.10 deprecates callable is_authenticated (among other methods) in favor of using properties. This change introduces a function to check whether a request is authenticated and also make it forward-compatible with Django 1.10 and later.