Re: Real time third party app for DRF (using Channels 2.0)

2018-12-12 Thread Kit La Touche
Miguel, You motivated me to write up an intro blog post to using Channels and DRF together. It's here if you want to take a look http://oddbird.net/2018/12/12/channels-and-drf/ I hope it's helpful, and I'll try to answer any other questions you might have! --Kit On Wednesday, December 5, 201

Re: 401 unauthorized while using django token authentication system

2018-12-12 Thread Wanderley S
Hello, No. You can set this "globally" in settings and then overight as needed in views (CBV, FBV) Actually, for secutrity matters, is a best practice to do exactly like this: First you close you API access in settings, by allowing access to administrators only, then, on each class or function yo